Skip to content

Commit

Permalink
refactor(scripts): move pre test scripts into pretest
Browse files Browse the repository at this point in the history
moves the pre test scripts such as example and linting into the pretest script
  • Loading branch information
Zac Colley committed Oct 17, 2016
1 parent fde7c05 commit e8df434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"scripts": {
"lint": "semistandard --verbose | snazzy",
"example": "node example.js",
"test": "npm run lint && npm run example && ./node_modules/.bin/mocha --reporter spec",
"pretest": "npm run lint && npm run example",
"test": "./node_modules/.bin/mocha --reporter spec",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"keywords": [
Expand Down

0 comments on commit e8df434

Please # to comment.