Skip to content

Commit a152f3a

Browse files
committed
Avoid publishing new version without building first.
1 parent 1f69af5 commit a152f3a

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
@@ -21,7 +21,8 @@
2121
"main": "lib/index.js",
2222
"scripts": {
2323
"build": "babel src -d lib",
24-
"test": "jest src"
24+
"test": "jest src",
25+
"prepublish": "npm run build"
2526
},
2627
"dependencies": {},
2728
"peerDependencies": {

0 commit comments

Comments
 (0)