Skip to content

Commit

Permalink
chore(build): set NODE_ENV to test when running coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanfoster committed Nov 27, 2016
1 parent 47c67ed commit 396f258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"build": "babel src -d lib",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- --compilers js:babel-register",
"coverage": "NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha -- --compilers js:babel-register",
"changelog": "conventional-changelog -s -p angular -i CHANGELOG.md",
"prepare-release": "./scripts/prepare-release",
"prepublish": "npm test && npm run build",
Expand Down

0 comments on commit 396f258

Please sign in to comment.