mirror of
https://github.com/zhigang1992/update-immutable.git
synced 2026-05-04 20:41:01 +08:00
only publish ES5 code to NPM
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
||||
node_modules/
|
||||
lib/
|
||||
dist/
|
||||
|
||||
1
.npmignore
Normal file
1
.npmignore
Normal file
@@ -0,0 +1 @@
|
||||
./update.js
|
||||
@@ -1,11 +1,12 @@
|
||||
{
|
||||
"name": "update-immutable",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "React-compatible data-structure update utility",
|
||||
"main": "lib/update",
|
||||
"main": "dist/update",
|
||||
"scripts": {
|
||||
"build": "node node_modules/babel-cli/bin/babel.js update.js --out-dir lib",
|
||||
"test": "nodeunit test.js"
|
||||
"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",
|
||||
"prepublish": "npm run build"
|
||||
},
|
||||
"author": "Doug Hoyte",
|
||||
"license": "BSD-2-Clause",
|
||||
|
||||
Reference in New Issue
Block a user