dotenv-run

v0.0.1
Use the .env for environment variables when running a command

dotenv-run

Use the .env for environment variables when running a command.

Usage

Run react-scripts build with the .env variables as environment variables.

setenv react-scripts build

Run react-scripts build with the .env.prod variables as environment variables.

NODE_ENV=prod setenv react-scripts build

npm i dotenv-run

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 9/28/2017

Downloads

Maintainers