Skip to content

Commit 29f734f

Browse files
committed
feat(scripts): adds prepublishOnly script
1 parent 2ee7c8b commit 29f734f

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
@@ -24,6 +24,7 @@
2424
"coveralls": "cat ./coverage/lcov.info | coveralls",
2525
"show:cov": "open coverage/lcov-report/index.html",
2626
"show:docs": "open docs/index.html",
27+
"prepublishOnly": "npm run test && npm run build",
2728
"deploy:demo": "npm run build && npm run build:docs && cd demo && npm run build && npm run deploy"
2829
},
2930
"repository": {

0 commit comments

Comments
 (0)