Skip to content

Commit

Permalink
Remove dep cross-env
Browse files Browse the repository at this point in the history
  • Loading branch information
bhj committed Jan 8, 2021
1 parent 4d73f60 commit 371c656
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 97 deletions.
1 change: 0 additions & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const config = {
module: { rules: [] },
plugins: [
new webpack.DefinePlugin(Object.assign({
'process.env': { NODE_ENV: JSON.stringify(NODE_ENV) },
__DEV__,
__TEST__,
__PROD__,
Expand Down
155 changes: 65 additions & 90 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "cross-env NODE_ENV=development nodemon --ignore build --ignore dist --ignore src -- -p3000",
"build": "rimraf build && webpack --config ./config/webpack.config.js",
"serve": "node ./server/main.js",
"serve:docs": "hugo serve --source ./docs -b http://$(hostname) --bind 0.0.0.0",
"dev": "NODE_ENV=development nodemon --ignore build --ignore dist --ignore src -- -p3000",
"build": "rimraf build && webpack -c config/webpack.config.js",
"serve": "node server/main.js",
"serve:docs": "hugo serve --source docs -b http://$(hostname) --bind 0.0.0.0",
"server": "npm run serve",
"start": "electron . -p 3000",
"dist": "cross-env DEBUG=electron-builder:* electron-builder -c ./config/electron-builder.config.js",
"dist": "DEBUG=electron-builder:* electron-builder -c config/electron-builder.config.js",
"install-app-deps": "electron-builder install-app-deps"
},
"files": [
Expand Down Expand Up @@ -91,7 +91,6 @@
"case-sensitive-paths-webpack-plugin": "^2.3.0",
"cdgraphics": "^5.0.0",
"core-js-compat": "^3.8.1",
"cross-env": "^7.0.3",
"css-loader": "^3.6.0",
"electron": "^11.1.1",
"electron-builder": "^22.9.1",
Expand Down

0 comments on commit 371c656

Please sign in to comment.