fraudwheeldrive / tracker

Group project 3
1 stars 0 forks source link

Setup React and Node Packages with appropriate install scripts #2

Open Mantablast opened 3 years ago

fraudwheeldrive commented 3 years ago

currently installed Npm Packages

Client: JSON "name": "show-client", "version": "0.1.0", "private": true, "proxy": "http://localhost:3001/", "dependencies": { "@apollo/react-hooks": "^3.1.3", "@stripe/stripe-js": "^1.3.1", "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.5.0", "@testing-library/user-event": "^7.2.1", "apollo-boost": "^0.4.7", "apollo-link-context": "^1.0.20", "graphql": "^14.6.0", "graphql-tag": "^2.10.3", "jwt-decode": "^2.2.0", "react": "^16.13.1", "react-dom": "^16.13.1", "react-router-dom": "^5.1.2", "react-scripts": "3.4.1" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": "react-app" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }

Server JSON { "name": "show-server", "version": "1.0.0", "description": "", "main": "server.js", "scripts": { "start": "node server.js", "watch": "nodemon", "seed": "node config/seeds.js" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "apollo-server-express": "^2.25.2", "bcrypt": "^4.0.1", "express": "^4.17.1", "faker": "^5.5.3", "graphql": "^15.5.1", "jsonwebtoken": "^8.5.1", "mongoose": "^5.9.7", "stripe": "^8.67.0" }, "devDependencies": { "nodemon": "^2.0.2" } }

Root JSON

{ "name": "mern-shopping", "version": "1.0.0", "description": "", "main": "server/server.js", "scripts": { "start": "if-env NODE_ENV=production && npm run start:prod || npm run start:dev", "start:prod": "cd server && npm start", "start:dev": "concurrently \"cd server && npm run watch\" \"cd client && npm start\"", "install": "cd server && npm i && cd ../client && npm i", "seed": "cd server && npm run seed", "heroku-postbuild": "cd client && npm run build" }, "author": "", "license": "ISC", "dependencies": { "if-env": "^1.0.4" }, "devDependencies": { "concurrently": "^5.1.0" } }