From 0565446eae859d83e79f1a6039dabf7cb6d6b9a6 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 8 Feb 2022 19:08:18 +0100 Subject: [PATCH] Improve npm standard scripts --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1f1405a..0bb9a4a 100644 --- a/package.json +++ b/package.json @@ -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"