From 309918a878240e912b2b8ee62530a4e9b32caf60 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 3 May 2021 10:04:19 +0100 Subject: [PATCH] Move lint-related tasks to dedicated script entry --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9558c930..9530d040 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,8 @@ "scripts": { "install": "(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)", "clean": "rm -rf node_modules/ build/ vendor/ .nyc_output/ coverage/ test/fixtures/output.*", - "test": "semistandard && cpplint && npm run test-unit && npm run test-licensing", + "test": "npm run test-lint && npm run test-unit && npm run test-licensing", + "test-lint": "semistandard && cpplint", "test-unit": "nyc --reporter=lcov --branches=99 mocha --slow=1000 --timeout=60000 ./test/unit/*.js", "test-licensing": "license-checker --production --summary --onlyAllow=\"Apache-2.0;BSD;ISC;MIT\"", "test-coverage": "./test/coverage/report.sh",