Skip to content

Commit 3c021d5

Browse files
committed
Run tests before publishing.
1 parent bf5af6b commit 3c021d5

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
@@ -22,7 +22,7 @@
2222
"scripts": {
2323
"build": "babel src -d lib",
2424
"test": "jest src",
25-
"prepublish": "npm run build"
25+
"prepublish": "npm test && npm run build"
2626
},
2727
"dependencies": {},
2828
"peerDependencies": {

0 commit comments

Comments
 (0)