Skip to content

Commit d43d172

Browse files
committed
build on prepublish
1 parent 09384ab commit d43d172

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
@@ -20,7 +20,8 @@
2020
"format:check": "prettier --list-different \"{lib,test}/*.{js,md}\"",
2121
"lint": "xo",
2222
"test": "ava",
23-
"build": "babel src --out-dir=dist"
23+
"build": "babel src --out-dir=dist",
24+
"prepublishOnly": "npm run build"
2425
},
2526
"devDependencies": {
2627
"ava": "^0.25.0",

0 commit comments

Comments
 (0)