Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit af7a1d5

Browse files
authored
add typecheck script to package.json, add typecheck to tslint scr… (#47)
add typecheck script to package.json, add typecheck to tslint script
2 parents d519eea + 626e325 commit af7a1d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"lint:eslint:fix": "eslint --ignore-path .gitignore --ignore-pattern internals/scripts --fix",
3838
"lint:js": "npm run lint:eslint -- . ",
3939
"lint:ts": "npm run lint:tslint",
40-
"lint:tslint": "tslint --config ./tslint.json --project ./tsconfig.json",
40+
"lint:tslint": "tslint --config ./tslint.json --project ./tsconfig.json --fix && npm run typecheck",
41+
"typecheck": "tsc --noEmit",
4142
"pretest": "npm run test:clean && npm run lint",
4243
"test:clean": "rimraf ./coverage",
4344
"test": "cross-env NODE_ENV=test jest --coverage",

0 commit comments

Comments
 (0)