Skip to content

Commit 4d72eb6

Browse files
committed
prepublish hook
1 parent 35c0623 commit 4d72eb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"node": ">=0.12"
88
},
99
"scripts": {
10+
"prepublish": "in-publish && npm run -s build || in-install",
1011
"build": "babel lib --out-dir lib && babel preset.js --out-file preset.js",
1112
"test": "npm run test:babel",
1213
"test:babel": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --compilers js:babel-register",
@@ -52,6 +53,7 @@
5253
"babel-cli": "^6.5.1",
5354
"babel-preset-es2015": "^6.5.0",
5455
"babel-register": "^6.5.2",
56+
"in-publish": "^2.0.0",
5557
"isparta": "^4.0.0",
5658
"mocha": "^2.4.5",
5759
"sinon": "^1.17.3"

0 commit comments

Comments
 (0)