Last active
August 24, 2020 14:38
-
-
Save kunokdev/e86bddaba2da7c0ee275e8577ce920fd to your computer and use it in GitHub Desktop.
Run bash script before starting dev mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"dev": "chmod +x ./env.sh && ./env.sh && mv env-config.js ./public/env-config.js && react-scripts start", | |
"test": "react-scripts test", | |
"eject": "react-scripts eject", | |
"build": "sh -ac '. ./.env; react-scripts build'" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment