Created
October 7, 2020 21:01
-
-
Save hiroki-gota/b43e7f94783b3bf07ace88afa8da1c41 to your computer and use it in GitHub Desktop.
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
"build-api": "nx build api --configuration=production", | |
"i-api": "npm run copy-dotenv-to-api && cd dist/apps/api && npm -q --only=production ci && cd ../../../", | |
"zip-api": "cd dist/apps && zip -rq api/api.zip api/ && cd ../../", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this the recommended way of doing it with nx, or are there some nx utilities we should be using for running npm install and zip?