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"
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
"winston": "=2.3.1"
|
"winston": "=2.3.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "=3.5.0",
|
"chai": "=3.5. 0",
|
||||||
"chai-as-promised": "=6.0.0",
|
"chai-as-promised": "=6.0.0",
|
||||||
"mocha": "=3.2.0",
|
"mocha": "=3.2.0",
|
||||||
"node-fetch": "=1.6.3",
|
"node-fetch": "=1.6.3",
|
||||||
|
|
Reference in a new issue