Last active
July 1, 2021 09:13
-
-
Save SiegeSailor/f8af3883f5792f258369395ab3edb83a to your computer and use it in GitHub Desktop.
Use env-cmd in NPM scripts.
This file contains hidden or 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": { | |
"host-uat": "env-cmd -f .env.uat npm run build && firebase deploy --only hosting:uat", | |
"host-prod": "env-cmd -f .env.production npm run build && firebase deploy --only hosting:production" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment