Skip to content

Commit

Permalink
Improve package.json scripts
Browse files Browse the repository at this point in the history
* Run lint after tests as often code style is broken intentionally
during refactoring
* Reduce duplication of mocha watch
  • Loading branch information
simonsmith committed Sep 22, 2016
1 parent 77780fd commit bea8ff1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@
"sinon-chai": "^2.8.0"
},
"scripts": {
"test": "npm run lint && mocha --reporter spec --slow 400 --timeout 8000",
"test": "npm run mocha && npm run lint",
"mocha": "mocha --reporter spec --slow 400 --timeout 8000",
"lint": "eslint lib/index.js test/test.js bin/suitcss",
"watch": "mocha --watch --reporter spec --slow 400"
"watch": "npm run mocha -- --watch"
},
"keywords": [
"css",
Expand Down

0 comments on commit bea8ff1

Please sign in to comment.