Skip to content

Commit

Permalink
Make npm run deps alias for bower dependency installation. Add it int…
Browse files Browse the repository at this point in the history
…o npm run unit script for fix appveyor CI
  • Loading branch information
tormozz48 committed Jun 8, 2015
1 parent 237afd7 commit 4b4f66e
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 @@ -49,10 +49,11 @@
"must": "0.12.0"
},
"scripts": {
"pretest": "bower i",
"deps": "bower i",
"pretest": "npm run deps",

This comment has been minimized.

Copy link
@blond

blond Jun 8, 2015

Member

2 раза же запустится, не?

"test": "npm run lint && npm run unit",
"lint": "jshint . && jscs -c .jscs.js .",
"unit": "mocha -R spec",
"unit": "npm run deps && mocha -R spec",
"cover": "istanbul cover _mocha",
"coveralls": "npm i coveralls && npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls"
}
Expand Down

0 comments on commit 4b4f66e

Please sign in to comment.