From 0c67c4714a9019bc40f62b3d324d8b2c122ed1ca Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Thu, 16 Jun 2016 10:02:56 -0600 Subject: [PATCH] docs(env): Add reference to cross-env (#281) As discussed in #280 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 345003f40..61797eddb 100644 --- a/README.md +++ b/README.md @@ -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: