From 570bf4815db625fba1d0def397b4d4c3930e74db Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Thu, 30 Aug 2018 15:53:00 +0200 Subject: [PATCH] Make type checking part of the linting --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 363109e90..666743414 100644 --- a/package.json +++ b/package.json @@ -15,14 +15,13 @@ "start": "node dist/index.js", "start:development": "ts-node --project ./src/tsconfig.json -r tsconfig-paths/register ./src/index.ts", "start:webpackDevServer": "ts-node ./scripts/start.ts", - "lint": "npm-run-all --parallel lint:*", + "lint": "npm-run-all --parallel lint:* tscheck:*", "lint:server": "tslint --project ./src/tsconfig.json", "lint:client": "tslint --project ./src/core/client/tsconfig.json", "lint:client-embed": "tslint --project ./src/core/client/embed/tsconfig.json", "lint:scripts": "tslint --project ./tsconfig.json", "lint-fix": "npm run lint:server -- --fix && npm run lint:client -- --fix && npm run lint:client-embed -- --fix && npm run lint:scripts -- --fix", "test": "node scripts/test.js --env=jsdom", - "tscheck": "npm-run-all --parallel tscheck:*", "tscheck:server": "tsc --project ./src/tsconfig.json --noEmit", "tscheck:client": "tsc --project ./src/core/client/tsconfig.json --noEmit", "tscheck:client-embed": "tsc --project ./src/core/client/embed/tsconfig.json --noEmit",