Skip to content

Commit ae79d74

Browse files
committed
Restore prepublishOnly npm script
Removed in c66ad81 due to poor npm support at the time.
1 parent 32a65d8 commit ae79d74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"test": "jest",
88
"clean": "rm lib/*",
9-
"build": "npm run clean; babel src/ --out-dir lib"
9+
"build": "npm run clean; babel src/ --out-dir lib",
10+
"prepublishOnly": "npm run build"
1011
},
1112
"files": [
1213
"index.js",

0 commit comments

Comments
 (0)