Skip to content

Commit 746e2e4

Browse files
committed
add prepublish hook
1 parent 48c1c85 commit 746e2e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"build": "tsc -p .",
1414
"example": "npm run build && webpack --config example/webpack.config.js",
1515
"dev": "webpack --config example/webpack.config.js --watch",
16-
"test": "npm run build && webpack --config test/webpack.config.js && mocha test/test.build.js"
16+
"test": "npm run build && webpack --config test/webpack.config.js && mocha test/test.build.js",
17+
"prepublish": "npm run build"
1718
},
1819
"repository": {
1920
"type": "git",

0 commit comments

Comments
 (0)