Browse Source

yarn implicitly looks in node_modules/.bin

pull/4345/head
bakaneko 1 month ago
parent
commit
b5673f3b66
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      package.json

+ 4
- 4
package.json View File

@@ -2,13 +2,13 @@
2 2
   "private": true,
3 3
   "scripts": {
4 4
     "dev": "yarn run development",
5
-    "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=webpack.config.js",
5
+    "development": "cross-env NODE_ENV=development webpack --progress --hide-modules --config=webpack.config.js",
6 6
     "generate-localizations": "node generate-localizations.js",
7
-    "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=webpack.config.js",
8
-    "lint": "node_modules/tslint/bin/tslint -c tslint.json 'resources/assets/lib/**/*.{ts,tsx}'",
7
+    "hot": "cross-env NODE_ENV=development webpack-dev-server --inline --hot --config=webpack.config.js",
8
+    "lint": "tslint -c tslint.json 'resources/assets/lib/**/*.{ts,tsx}'",
9 9
     "localize": "yarn run generate-localizations",
10 10
     "prod": "yarn run production",
11
-    "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=webpack.config.js",
11
+    "production": "cross-env NODE_ENV=production webpack --progress --hide-modules --config=webpack.config.js",
12 12
     "watch": "yarn run development --watch",
13 13
     "watch-poll": "yarn run watch --watch-poll"
14 14
   },

Loading…
Cancel
Save