Skip to content

Commit

Permalink
use BABEL_ENV=test instead of coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Nov 10, 2016
1 parent 8907c49 commit 9a0a1a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": ["es2015", "stage-1", "flow"],
"plugins": ["transform-runtime"],
"env": {
"coverage": {
"test": {
"plugins": ["istanbul"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"flow:watch": "flow-watch --ignore lib/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/",
"gen-flow-files": "flow gen-flow-files src/ --out-dir lib",
"build": "rimraf lib && babel src --out-dir lib",
"test": "NODE_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
"test": "NODE_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
"prepublish": "npm run lint && flow && npm run test && npm run build && npm run gen-flow-files",
"postpublish": "git tag -a v$npm_package_version -m v$npm_package_version && git push origin v$npm_package_version"
},
Expand Down

0 comments on commit 9a0a1a5

Please sign in to comment.