We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35c0623 commit 4d72eb6Copy full SHA for 4d72eb6
package.json
@@ -7,6 +7,7 @@
7
"node": ">=0.12"
8
},
9
"scripts": {
10
+ "prepublish": "in-publish && npm run -s build || in-install",
11
"build": "babel lib --out-dir lib && babel preset.js --out-file preset.js",
12
"test": "npm run test:babel",
13
"test:babel": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --compilers js:babel-register",
@@ -52,6 +53,7 @@
52
53
"babel-cli": "^6.5.1",
54
"babel-preset-es2015": "^6.5.0",
55
"babel-register": "^6.5.2",
56
+ "in-publish": "^2.0.0",
57
"isparta": "^4.0.0",
58
"mocha": "^2.4.5",
59
"sinon": "^1.17.3"
0 commit comments