Run linting in test script (for CI)
This commit is contained in:
parent
e99e796af2
commit
90d9d9e8e2
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
"start": "node ./dist/index.js",
|
||||
"prepublish": "typings install && npm run build",
|
||||
"build": "tsc",
|
||||
"test": "npm run build && 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",
|
||||
"lint": "tslint src/**/*.ts"
|
||||
},
|
||||
|
|
Reference in a new issue