Skip to content

Commit d0c0896

Browse files
committed
chore: run test before publish
1 parent c43cf98 commit d0c0896

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
@@ -26,7 +26,8 @@
2626
"scripts": {
2727
"lint": "eslint --format=codeframe .",
2828
"test": "npm run lint && jasmine test/unit/* test/e2e/index.js",
29-
"coverage": "nyc npm run test"
29+
"coverage": "nyc npm run test",
30+
"prepublishOnly": "npm run test"
3031
},
3132
"main": "src/index.js",
3233
"files": [

0 commit comments

Comments
 (0)