Skip to content

Commit

Permalink
chore: Run standard in pretest lifecycle (#1140)
Browse files Browse the repository at this point in the history
Static analysis should be done before tests. It saves times and also lints and catches errors through static analysis in tests.
  • Loading branch information
DiegoRBaquero authored and evocateur committed May 31, 2018
1 parent b3544cc commit 88b6d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -42,7 +42,7 @@
"yargs-test-extends": "^1.0.1"
},
"scripts": {
"posttest": "standard",
"pretest": "standard",
"test": "nyc --cache mocha --require ./test/before.js --timeout=8000 --check-leaks",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"release": "standard-version"
Expand Down

0 comments on commit 88b6d23

Please sign in to comment.