mirror of
https://github.com/zhigang1992/update-immutable.git
synced 2026-04-29 13:15:16 +08:00
re-org into src/test directories, add usage info
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
"description": "React-compatible data-structure update utility",
|
||||
"main": "dist/update",
|
||||
"scripts": {
|
||||
"build": "node node_modules/babel-cli/bin/babel.js update.js --out-dir dist",
|
||||
"test": "npm run build && node_modules/nodeunit/bin/nodeunit test.js",
|
||||
"build": "node node_modules/babel-cli/bin/babel.js src/update.js --out-dir dist",
|
||||
"test": "npm run build && node_modules/nodeunit/bin/nodeunit t/basic.js",
|
||||
"prepublish": "npm run build"
|
||||
},
|
||||
"author": "Doug Hoyte",
|
||||
|
||||
Reference in New Issue
Block a user