From 90d9d9e8e2f550fa95738bd0d669db90f50bf38d Mon Sep 17 00:00:00 2001 From: Jake Date: Tue, 18 Apr 2017 12:58:43 +0100 Subject: [PATCH] Run linting in test script (for CI) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d43800b..ba7fe2e 100644 --- a/package.json +++ b/package.json @@ -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" },