Last active
December 3, 2018 13:32
-
-
Save handleman/9cb2f527c4efa82722cc77ecbe7bfa04 to your computer and use it in GitHub Desktop.
How to execute several commands in one alias inside package.json . How to set environment variables inside package.json. Several commands in one in package json.
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": { | |
"start": "webpack --config webpack.prod.js && node prod-server", | |
"dev": "export NODE_ENV='development' && export API_HOSTNAME='http://api.localhost:8000'" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment