Skip to content

Commit cf447b7

Browse files
author
Jonatan Salas
committedAug 3, 2016
Added publish command to prevent a wrong publish
1 parent c65413f commit cf447b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"build-demo": "cross-env NODE_ENV=production babel-node ./tools/build-demo.js",
88
"build-lib": "cross-env NODE_ENV=production babel-node ./tools/build-lib.js",
9+
"publish": "npm run build-lib && npm publish",
910
"start": "cross-env NODE_ENV=development babel-node ./demo/Server.js",
1011
"test": "mocha ./test --compilers js:babel-register",
1112
"coverage": "babel-node ./node_modules/.bin/isparta cover _mocha"

0 commit comments

Comments
 (0)
Please sign in to comment.