Skip to content

Commit

Permalink
docs(env): Add reference to cross-env (istanbuljs#281)
Browse files Browse the repository at this point in the history
As discussed in istanbuljs#280
  • Loading branch information
Kent C. Dodds authored and bcoe committed Jun 16, 2016
1 parent 07d78c5 commit 0c67c47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ the `sourceMaps` option to `inline`.
```

Note: With this configuration, the `__coverage__` will only be active when `NODE_ENV` or `BABEL_ENV` is `test`.
We recommend using the [`cross-env`](https://npmjs.com/package/cross-env) package to set these environment variables
in your `package.json` scripts in a way that works cross-platform.

2. disable nyc's instrumentation and source-maps:

Expand Down

0 comments on commit 0c67c47

Please sign in to comment.