cross-env
Showing
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
... | @@ -5,14 +5,14 @@ | ... | @@ -5,14 +5,14 @@ |
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | "test": "echo \"Error: no test specified\" && exit 1", | ||
"start": "set OWNNER_ENV=dev&& webpack-dev-server --progress", | "start": "cross-env OWNNER_ENV=dev webpack-dev-server --progress", | ||
"lint": "eslint --ext .js src", | "lint": "eslint --ext .js src", | ||
"precommit": "npm run lint", | "precommit": "npm run lint", | ||
"lib": "webpack --config webpackconfig/webpack.dll.config.js --progress", | "lib": "webpack --config webpackconfig/webpack.dll.config.js --progress", | ||
"test-build": "set OWNNER_ENV=test&& webpack --config webpackconfig/webpack.test.config.js --progress", | "test-build": "cross-env OWNNER_ENV=test webpack --config webpackconfig/webpack.test.config.js --progress", | ||
"build": "set OWNNER_ENV=pro&& webpack --config webpackconfig/webpack.pro.config.js --progress", | "build": "cross-env OWNNER_ENV=pro webpack --config webpackconfig/webpack.pro.config.js --progress", | ||
"pro-build": "set OWNNER_ENV=pro&& webpack --config webpackconfig/webpack.online.config.js --progress", | "pro-build": "cross-env OWNNER_ENV=pro webpack --config webpackconfig/webpack.online.config.js --progress", | ||
"analyse": "set OWNNER_ENV=pro && webpack --profile --json > stats.json --config webpackconfig/webpack.pro.config.js --progress" | "analyse": "cross-env OWNNER_ENV=pro webpack --profile --json > stats.json --config webpackconfig/webpack.pro.config.js --progress" | ||
}, | }, | ||
"author": "", | "author": "", | ||
"license": "ISC", | "license": "ISC", | ||
... | @@ -78,6 +78,7 @@ | ... | @@ -78,6 +78,7 @@ |
"child_process": "^1.0.2", | "child_process": "^1.0.2", | ||
"clean-webpack-plugin": "^3.0.0", | "clean-webpack-plugin": "^3.0.0", | ||
"compression-webpack-plugin": "^3.0.1", | "compression-webpack-plugin": "^3.0.1", | ||
"cross-env": "^7.0.3", | |||
"css-loader": "^3.2.0", | "css-loader": "^3.2.0", | ||
"eslint": "^6.5.1", | "eslint": "^6.5.1", | ||
"eslint-config-airbnb": "16.1.0", | "eslint-config-airbnb": "16.1.0", | ||
... | ... |
Please
register
or
sign in
to comment