From 0df86e9cdc7fcd18e259babc12d572b418206727 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Mon, 26 Mar 2018 08:49:46 +0200 Subject: [PATCH] test(linting): add pretest step for tshint --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 256edc482..54159798a 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "preinstall": "./scripts/pre-install", "start": "NODE_ENV=development npm run storybook --root ./ ", "dist": "npm run clean && NODE_ENV=production ./node_modules/.bin/webpack -p --config ./webpack.config.js", + "pretest": "tslint -c tslint.json '(components|shared)/**/*.ts'", "test": "jest", "commitlint": "./node_modules/.bin/commitlint -e", "storybook": "start-storybook -p 6006",