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
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -10,7 +10,6 @@ before_script: ...@@ -10,7 +10,6 @@ before_script:
run_tests: run_tests:
script: script:
- npm run lint
- npm test - npm test
tags: tags:
- node - node
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
"scripts": { "scripts": {
"postinstall": "typings install", "postinstall": "typings install",
"start": "node index", "start": "node index",
"test": "istanbul cover -x \"**/*.spec.ts\" -e .ts _mocha", "pretest": "tslint -s node_modules/tslint-stylish -t stylish src/**/*.ts test/**/*.ts",
"lint": "tslint -s node_modules/tslint-stylish -t stylish src/**/*.ts test/**/*.ts" "test": "istanbul cover -x \"**/*.spec.ts\" -e .ts _mocha"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment