Commit 42d1905e authored by Eduardo L. Buratti's avatar Eduardo L. Buratti

Move lint script to pretest in package.json

parent e54aedf3
Pipeline #6623 failed with stage
in 55 seconds
......@@ -10,7 +10,6 @@ before_script:
run_tests:
script:
- npm run lint
- npm test
tags:
- node
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment