fullstack-hy2020 / part2-notes

71 stars 182 forks source link

part3-1. Scripts added to package.json on the frontend. #13

Closed aguperes closed 1 year ago

aguperes commented 2 years ago

The material says we should add the following scripts to package.json on the backend:

    "build:ui": "rm -rf build && cd ../part2-notes/ && npm run build && cp -r build ../notes-backend",
    "deploy": "git push heroku main",
    "deploy:full": "npm run build:ui && git add . && git commit -m uibuild && git push && npm run deploy",    
    "logs:prod": "heroku logs --tail"

They were added to the frontend package.json instead.