diff --git a/package.json b/package.json index c1e37723..d2960e9b 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,8 @@ "scripts": { "dev": "npx webpack-dev-server --config ./webpack/dev.babel.js", "dev:local": "npx webpack-dev-server --config ./webpack/local.babel.js", - "build:clean": "rimraf build build-devel", - "build:production": "npx webpack --config ./webpack/production.babel.js --progress --bail", - "build:dev": "cross-env BUILD=development npx webpack --config ./webpack/production.babel.js --output-path build-devel --progress --bail", + "build:prod": "rimraf build && npx webpack --config ./webpack/production.babel.js --progress --bail", + "build:dev": "rimraf build-devel && cross-env BUILD=development npx webpack --config ./webpack/production.babel.js --output-path build-devel --progress --bail", "build": "run-s build:*", "flow": "flow check src", "lint": "run-s lint:*",