summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorYukai Huang2016-12-10 22:12:07 +0800
committerYukai Huang2016-12-10 22:12:07 +0800
commited83dfc862768572eab0c2aed629b1700ac9e224 (patch)
tree417752b240ba9f6cc26cfeba63b69e04d47b2bc8 /package.json
parent65a1a62cc0791cbf88a626d3cccf6fbe7bd1966e (diff)
Rename npm script
webpack scripts are meant to “build” assets, so place them under the same namespace * dev => build:dev * build => build:prod
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index eab454ad..4c7cbb1c 100644
--- a/package.json
+++ b/package.json
@@ -5,8 +5,8 @@
"main": "app.js",
"license": "MIT",
"scripts": {
- "build": "webpack --config webpack.production.js --progress --colors",
- "dev": "webpack --config webpack.config.js --progress --colors --watch",
+ "build:dev": "webpack --config webpack.config.js --progress --colors --watch",
+ "build:prod": "webpack --config webpack.production.js --progress --colors",
"assets:install": "bower install",
"postinstall": "bin/heroku",
"start": "node app.js"