type check on lint
This commit is contained in:
parent
2c2a067810
commit
27338439b0
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"test": "npm run build && npm run lint && npm run mocha && nsp check",
|
"test": "npm run build && npm run lint && npm run mocha && nsp check",
|
||||||
"mocha": "mocha --compilers ts:ts-node/register --require scripts/test-helper.js --recursive --bail tests/**/*.test.ts tests/*.test.ts",
|
"mocha": "mocha --compilers ts:ts-node/register --require scripts/test-helper.js --recursive --bail tests/**/*.test.ts tests/*.test.ts",
|
||||||
"lint": "tslint src/**/*.ts"
|
"lint": "tslint src/**/*.ts --type-check --project tsconfig.json"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "6.9.4"
|
"node": "6.9.4"
|
||||||
|
|
Reference in a new issue