Skip to content

Commit

Permalink
reworked proxy, updated build
Browse files Browse the repository at this point in the history
  • Loading branch information
bhoriuchi committed Jan 17, 2018
1 parent 65df5b7 commit 77c0e73
Show file tree
Hide file tree
Showing 19 changed files with 1,722 additions and 2,021 deletions.
15 changes: 11 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"presets": ["es2015", "stage-2"],
"plugins": ["transform-runtime"],
"comments": false
}
"presets": [["env"]],
"plugins": [
"syntax-async-functions",
"syntax-async-generators",
"transform-class-properties",
"transform-object-rest-spread",
["transform-es2015-classes", {"loose": true}],
["transform-es2015-destructuring", {"loose": true}],
["transform-es2015-spread", {"loose": true}]
]
}
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist
archive
test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ test/unit/coverage
test/e2e/reports
.idea/
example/build.js
package-lock.json
package-lock.json
dist/
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,31 +144,27 @@ Creates an abstracted model with a set of flat properties that are generated fro

**options**
* `useProxy=true` {`Boolean`} - disable use of Proxy when false
* `dynamicUpdates=true` {`Boolean`} - disable dynamic property update check (can improve performance on deeply nested objects)

##### vuexModel ( path:String, [options:Object] )

The equivalent of `vueModel` for `vuex`. Path should point to the base object

**options**
* `useProxy=true` {`Boolean`} - disable use of Proxy when false
* `dynamicUpdates=true` {`Boolean`} - disable dynamic property update check (can improve performance on deeply nested objects)

##### deepModel ( obj:Object, [options:Object] )

Equivalent to `vueModel`

**options**
* `useProxy=true` {`Boolean`} - disable use of Proxy when false
* `dynamicUpdates=true` {`Boolean`} - disable dynamic property update check (can improve performance on deeply nested objects)

##### deepModel ( path:String, [options:Object] )

Equivalent to `vuexModel`

**options**
* `useProxy=true` {`Boolean`} - disable use of Proxy when false
* `dynamicUpdates=true` {`Boolean`} - disable dynamic property update check (can improve performance on deeply nested objects)

### Non-Plugin usage

Expand Down
4 changes: 0 additions & 4 deletions build/.build.babelrc

This file was deleted.

9 changes: 0 additions & 9 deletions build/rollup.config.js

This file was deleted.

Loading

0 comments on commit 77c0e73

Please sign in to comment.