Merge pull request #3 from JakeSidSmith/patch-1
Run linting in test script (for CI)
This commit is contained in:
commit
eb3a2553ba
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
"start": "node ./dist/index.js",
|
"start": "node ./dist/index.js",
|
||||||
"prepublish": "typings install && npm run build",
|
"prepublish": "typings install && npm run build",
|
||||||
"build": "tsc",
|
"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",
|
"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"
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue