Skip to content

Commit

Permalink
Add a few more npm scripts.
Browse files Browse the repository at this point in the history
* Add `npm run build` to generate the build.
* Add a `prepublish` script to ensure that bower packages are installed
  on `npm install` (but not from consumers).
  • Loading branch information
rwjblue committed Oct 28, 2014
1 parent 778f806 commit b39a114
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"description": "QUnit helpers for testing Ember.js applications",
"main": "lib/ember-qunit.js",
"scripts": {
"test": "rm -rf build && BROCCOLI_ENV=test broccoli build build && testem ci"
"prepublish": "bower install",
"build": "rm -rf build && BROCCOLI_ENV=test broccoli build build",
"pretest": "npm run-script build",
"test": "testem ci"
},
"authors": [
"Stefan Penner",
Expand All @@ -14,6 +17,7 @@
],
"license": "MIT",
"devDependencies": {
"bower": "^1.3.12",
"broccoli": "^0.13.0",
"broccoli-concat": "^0.0.11",
"broccoli-es6-concatenator": "^0.1.7",
Expand Down

0 comments on commit b39a114

Please sign in to comment.