Skip to content

Commit aa12ceb

Browse files
committed
🚧 Add prepublish build step
1 parent f17a518 commit aa12ceb

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
@@ -11,7 +11,8 @@
1111
"unit": "NODE_ENV=production mocha test/test.js --slow=5000 --timeout=10000",
1212
"lint": "eslint src/**",
1313
"lint:fix": "eslint --fix src/**",
14-
"coveralls": "NODE_ENV=production istanbul cover --default-excludes -x 'dist/**' -x 'config/**' ./node_modules/mocha/bin/_mocha --report lcovonly -- --slow=5000 --timeout=10000 test/test.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
14+
"coveralls": "NODE_ENV=production istanbul cover --default-excludes -x 'dist/**' -x 'config/**' ./node_modules/mocha/bin/_mocha --report lcovonly -- --slow=5000 --timeout=10000 test/test.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
15+
"prepublish": "npm run build"
1516
},
1617
"repository": {
1718
"type": "git",

0 commit comments

Comments
 (0)