Merge pull request #3 from JakeSidSmith/patch-1

Run linting in test script (for CI)
This commit is contained in:
Jake Howard 2017-04-18 13:33:56 +01:00 committed by GitHub
commit eb3a2553ba

View file

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