diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69b0fec81a0c0d959fb7d1d1f694388f0922b5c9..61357d69cc6b43e9d246b074596d7913ebffb234 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,6 @@ before_script: run_tests: script: - - npm run lint - npm test tags: - node diff --git a/package.json b/package.json index 94d5607152b269b56939b0382cc2f6406437a8cf..1ee3bdc6dcf7d0c2f1e4d86f7c054abc1acb79b0 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "scripts": { "postinstall": "typings install", "start": "node index", - "test": "istanbul cover -x \"**/*.spec.ts\" -e .ts _mocha", - "lint": "tslint -s node_modules/tslint-stylish -t stylish src/**/*.ts test/**/*.ts" + "pretest": "tslint -s node_modules/tslint-stylish -t stylish src/**/*.ts test/**/*.ts", + "test": "istanbul cover -x \"**/*.spec.ts\" -e .ts _mocha" }, "repository": { "type": "git",