From ed83dfc862768572eab0c2aed629b1700ac9e224 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Sat, 10 Dec 2016 22:12:07 +0800 Subject: Rename npm script webpack scripts are meant to “build” assets, so place them under the same namespace * dev => build:dev * build => build:prod --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package.json') 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" -- cgit v1.2.3