Created
June 12, 2019 23:27
-
-
Save Karla-Isabel-Sandoval/b19d58e2ae06e5b78fd28788918a785b to your computer and use it in GitHub Desktop.
yarn-error
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
{ | |
"dependencies": { | |
"babel-cli": "^6.26.0", | |
"babel-preset-es2015": "^6.24.1", | |
"babel-preset-stage-0": "^6.24.1", | |
"body-parser": "^1.19.0", | |
"concurrently": "^4.1.0", | |
"express": "^4.17.1", | |
"mongoose": "^5.5.14", | |
"morgan": "^1.9.1", | |
"nodemon": "^1.19.1" | |
} | |
"scripts": { | |
"start:server": "cd backend && nodemon server.js --exec babel-node --presets es2015,stage-0", | |
"start:client": "cd client && yarn start", | |
"start:dev": "concurrently \"yarn start:server\" \"yarn start:client\"" | |
} | |
} | |
// In main package.json (outside client/ and backend/ folder, add the start:server, start:client, and start:dev as shown below | |
// "test": //... unchanged | |
// "start:server": "cd backend && nodemon server.js --exec babel-node --presets es2015,stage-0", | |
// "start:client": "cd client && yarn start", | |
// "start:dev": "concurrently \"yarn start:server\" \"yarn start:client\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment