-
Notifications
You must be signed in to change notification settings - Fork 0
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
Some update for more powerful #6
Conversation
package.json
Outdated
@@ -5,52 +5,76 @@ | |||
"main": "src/app.ts", | |||
"scripts": { | |||
"start": "ts-node -r tsconfig-paths/register src/app.ts --type-check", | |||
"start:debug": "yarn start --debug", | |||
"start:runtime": "TS_NODE_PROJECT=tsconfig.runtime.json node -r tsconfig-paths/register -r source-map-support/register build/app", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the name from runtime
to prod
would be more intuitive. e.g yarn start:prod
and tsconfig.prod.json
. And note that we should use the pm2
for the production.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, just add README.md.
Please review and give me some feedback~~if any not understand. 😀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remember to write the README.md (as clear as possible) for this boilerplate. Otherwise, it will become no one but only you know how to use this properly.
Update some packages, and add some useful functions I used in PhotoRoom.
debug mode
yarn start:debug
prettier
fix dataloaderMiddleware in many-to-many
add production command
yarn start:runtime
add S3Service
upgrade packages, such as [email protected], typescript, tslint...
update README