Created
September 15, 2018 13:17
-
-
Save Fabianopb/8c8142da402243c4e6e50d753739c70f to your computer and use it in GitHub Desktop.
express-react-ts-ci root install 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": { | |
"install": "yarn install:backend && yarn install:frontend", | |
"install:backend": "cd backend && yarn install", | |
"install:frontend": "cd frontend && yarn install", | |
"build": "yarn build:backend && yarn build:frontend", | |
"build:backend": "cd backend && yarn build", | |
"build:frontend": "cd frontend && yarn build", | |
"start": "concurrently \"yarn start:backend\" \"yarn start:frontend\"", | |
"start:db": "sudo mongod --dbpath /data/test/ --port 27017", | |
"start:backend": "cd backend && yarn start", | |
"start:frontend": "cd frontend && yarn start", | |
"test": "yarn test:backend && yarn test:frontend", | |
"test:backend": "cd backend && yarn test", | |
"test:frontend": "cd frontend && yarn test", | |
"serve": "cd backend && node dist/server.js" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment