Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package.json #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"rebuild": "npm run clean && npm run build",
"clean": "lb-clean dist *.tsbuildinfo .eslintcache",
"start": "npm run rebuild && node dist/server",
"server": "node dist/server",
"server": "nodemon dist/server",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe have "server:dev": "nodemon dist/server"?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the start script is doing a production spinup while server is used for dev

"client": "node dist/client"
},
"repository": {
Expand Down Expand Up @@ -56,6 +56,7 @@
"@loopback/eslint-config": "^13.0.8",
"@loopback/testlab": "^5.0.8",
"@types/node": "^18.11.15",
"nodemon": "^2.0.20",
"typescript": "~4.9.5"
},
"copyright.owner": "Abridged, Inc.",
Expand Down