Skip to content

Commit c5da086

Browse files
committed
Run build script on npm prepare event
1 parent 0a71309 commit c5da086

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
@@ -8,6 +8,7 @@
88
"repository": "browserify/commonjs-assert",
99
"scripts": {
1010
"build": "babel assert.js test.js --out-dir build && babel internal --out-dir build/internal && babel test --out-dir build/test",
11+
"prepare": "npm run build",
1112
"dev": "babel assert.js test.js --watch --out-dir build & babel internal --watch --out-dir build/internal & babel test --watch --out-dir build/test",
1213
"test": "npm run build && npm run test:nobuild",
1314
"test:nobuild": "node build/test.js",

0 commit comments

Comments
 (0)