Skip to content
Snippets Groups Projects
Commit 42d1905e authored by Eduardo L. Buratti's avatar Eduardo L. Buratti
Browse files

Move lint script to pretest in package.json

parent e54aedf3
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment