Skip to content

Commit

Permalink
build: Remove the npm bin calls from package.json
Browse files Browse the repository at this point in the history
That command no longer exists with newer versions of NPM but the build
path for `npm run` includes the `node_modules/bin` directory now so it's
also not necessary.
  • Loading branch information
feanil committed Apr 9, 2024
1 parent f8eecec commit 4e3dd16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"postinstall": "scripts/copy-node-modules.sh",
"build": "npm run webpack && npm run compile-sass",
"build-dev": "npm run webpack-dev && npm run compile-sass-dev",
"webpack": "NODE_ENV=${NODE_ENV:-production} \"$(npm bin)/webpack\" --config=${WEBPACK_CONFIG_PATH:-webpack.prod.config.js}",
"webpack-dev": "NODE_ENV=development \"$(npm bin)/webpack\" --config=webpack.dev.config.js",
"webpack": "NODE_ENV=${NODE_ENV:-production} webpack --config=${WEBPACK_CONFIG_PATH:-webpack.prod.config.js}",
"webpack-dev": "NODE_ENV=development webpack --config=webpack.dev.config.js",
"compile-sass": "scripts/compile_sass.py --env=${NODE_ENV:-production}",
"compile-sass-dev": "scripts/compile_sass.py --env=development",
"watch": "{ npm run watch-webpack& npm run watch-sass& } && sleep infinity",
Expand Down

0 comments on commit 4e3dd16

Please sign in to comment.