Skip to content

Instantly share code, notes, and snippets.

@TunvirRahman
Created June 8, 2020 09:15
Show Gist options
  • Select an option

  • Save TunvirRahman/2c473d55874ea6947d85ff66a3beee01 to your computer and use it in GitHub Desktop.

Select an option

Save TunvirRahman/2c473d55874ea6947d85ff66a3beee01 to your computer and use it in GitHub Desktop.
Script.js
"scripts": {
....
"start:stage:dev": "env-cmd -f .env.development react-scripts start",
"start:stage:prod": "env-cmd -f .env.production react-scripts start",
"start:stage:test": "env-cmd -f .env.test react-scripts start",
"build:stage:dev": "env-cmd -f .env.development react-scripts build",
"build:stage:prod": "env-cmd -f .env.production react-scripts build",
"build:stage:test": "env-cmd -f .env.test react-scripts build",
....
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment