forked from Mirrors/keyoxide-web
fix: use PATH expansion for run-scripts
Yarn is including `./node_modules/.bin` in $PATH when evaluating run-commands. In other words, they don't have to be included for executables inside of `package.json`. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This commit is contained in:
parent
9e19a622d9
commit
912f3619eb
1 changed files with 6 additions and 6 deletions
12
package.json
12
package.json
|
@ -50,19 +50,19 @@
|
||||||
"start": "node ./",
|
"start": "node ./",
|
||||||
"dev": "LOG_LEVEL=debug yarn run watch & yarn run build:static:dev",
|
"dev": "LOG_LEVEL=debug yarn run watch & yarn run build:static:dev",
|
||||||
"test": "yarn run lint && mocha",
|
"test": "yarn run lint && mocha",
|
||||||
"watch": "./node_modules/.bin/nodemon --config nodemon.json ./",
|
"watch": "nodemon --config nodemon.json ./",
|
||||||
"build": "yarn run build:server && yarn run build:static",
|
"build": "yarn run build:server && yarn run build:static",
|
||||||
"build:server": "ncc build ./src/index.js -o dist",
|
"build:server": "ncc build ./src/index.js -o dist",
|
||||||
"build:static": "webpack --config webpack.config.js --env static=true --env mode=production",
|
"build:static": "webpack --config webpack.config.js --env static=true --env mode=production",
|
||||||
"build:static:dev": "webpack --config webpack.config.js --env static=true --env mode=development",
|
"build:static:dev": "webpack --config webpack.config.js --env static=true --env mode=development",
|
||||||
"lint": "yarn run standard:check && yarn run biome:check",
|
"lint": "yarn run standard:check && yarn run biome:check",
|
||||||
"standard:check": "./node_modules/.bin/standard ./src",
|
|
||||||
"standard:fix": "./node_modules/.bin/standard --fix ./src",
|
|
||||||
"biome:check": "biome check ./src && biome lint ./src",
|
"biome:check": "biome check ./src && biome lint ./src",
|
||||||
"biome:fix": "biome check --apply ./src && biome lint --apply ./src",
|
"biome:fix": "biome check --apply ./src && biome lint --apply ./src",
|
||||||
"license:check": "./node_modules/.bin/license-check-and-add check",
|
"standard:check": "standard ./src",
|
||||||
"license:add": "./node_modules/.bin/license-check-and-add add",
|
"standard:fix": "standard --fix ./src",
|
||||||
"license:remove": "./node_modules/.bin/license-check-and-add remove"
|
"license:check": "license-check-and-add check",
|
||||||
|
"license:add": "license-check-and-add add",
|
||||||
|
"license:remove": "license-check-and-add remove"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in a new issue