mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2025-01-09 06:19:29 -07:00
Improve npm standard scripts
This commit is contained in:
parent
498ad7bff0
commit
0565446eae
1 changed files with 3 additions and 2 deletions
|
@ -45,9 +45,10 @@
|
||||||
"license:add": "./node_modules/.bin/license-check-and-add add",
|
"license:add": "./node_modules/.bin/license-check-and-add add",
|
||||||
"license:remove": "./node_modules/.bin/license-check-and-add remove",
|
"license:remove": "./node_modules/.bin/license-check-and-add remove",
|
||||||
"docs:lib": "./node_modules/.bin/jsdoc -c jsdoc-lib.json -r -d ./docs -P package.json",
|
"docs:lib": "./node_modules/.bin/jsdoc -c jsdoc-lib.json -r -d ./docs -P package.json",
|
||||||
"standard": "./node_modules/.bin/standard ./src",
|
"standard:check": "./node_modules/.bin/standard ./src",
|
||||||
|
"standard:fix": "./node_modules/.bin/standard --fix ./src",
|
||||||
"mocha": "./node_modules/.bin/mocha",
|
"mocha": "./node_modules/.bin/mocha",
|
||||||
"test": "yarn run standard && yarn run license:check && yarn run mocha",
|
"test": "yarn run standard:check && yarn run license:check && yarn run mocha",
|
||||||
"proxy": "NODE_ENV=production node ./src/proxy/",
|
"proxy": "NODE_ENV=production node ./src/proxy/",
|
||||||
"proxy:dev": "NODE_ENV=development ./node_modules/.bin/nodemon ./src/proxy/",
|
"proxy:dev": "NODE_ENV=development ./node_modules/.bin/nodemon ./src/proxy/",
|
||||||
"prepare": "husky install"
|
"prepare": "husky install"
|
||||||
|
|
Loading…
Reference in a new issue