type check on lint

This commit is contained in:
Jake Howard 2017-07-08 11:15:44 +01:00
parent 2c2a067810
commit 27338439b0
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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"