Skip to content

Commit e9538c6

Browse files
committed
Separate build steps in package.json
1 parent bbfb9bd commit e9538c6

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
@@ -51,9 +51,10 @@
5151
"webpack-dev-server": "^1.14.1"
5252
},
5353
"scripts": {
54+
"build": "webpack && babel src -d lib",
5455
"clean": "rimraf lib dist coverage",
5556
"lint": "eslint src",
56-
"prepublish": "npm run clean && webpack && babel src -d lib",
57+
"prepublish": "npm run clean && npm run build",
5758
"start": "webpack-dev-server -d --config example/webpack.config.js",
5859
"test": "npm run lint && jest"
5960
},

0 commit comments

Comments
 (0)