Skip to content

Commit 0d70847

Browse files
committed
prepublish script
1 parent fd934cd commit 0d70847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"mocha": "--require scripts/mocha-bootload src/**/__tests__/**/*.js"
3131
},
3232
"scripts": {
33-
"prepublish": "npm run build",
33+
"prepublish": "npm test && npm run build",
3434
"test": "npm run lint && npm run check && mocha $npm_package_options_mocha",
3535
"testonly": "mocha $npm_package_options_mocha",
3636
"lint": "eslint src",

0 commit comments

Comments
 (0)