Improve npm standard scripts

This commit is contained in:
Yarmo Mackenbach 2022-02-08 19:08:18 +01:00
parent 498ad7bff0
commit 0565446eae
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -45,9 +45,10 @@
"license:add": "./node_modules/.bin/license-check-and-add add",
"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",
"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",
"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:dev": "NODE_ENV=development ./node_modules/.bin/nodemon ./src/proxy/",
"prepare": "husky install"