Skip to content
This repository was archived by the owner on Jan 7, 2020. It is now read-only.

Commit b620e21

Browse files
committed
chore(scripts): use prepublishOnly npm script instead of prepublish to not run linter and tests after install to reduce CI times
1 parent 310e29b commit b620e21

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
@@ -14,7 +14,7 @@
1414
"publish-coverage": "mv ./coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js",
1515
"pre-pack": "npm run lint",
1616
"prepush": "npm run lint && cross-env NODE_ENV=dev npm run test",
17-
"prepublish": "npm run lint && npm run test"
17+
"prepublishOnly": "npm run lint && npm run test"
1818
},
1919
"repository": {
2020
"type": "git",

0 commit comments

Comments
 (0)