Skip to content

Commit

Permalink
fixed package json script for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
bitDaft committed Dec 10, 2022
1 parent 8532fb5 commit de678ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ The features and structure will be explained below in sections building upon eac
- [x] Auto detection of tenant (with little initial setup work)
- [x] Complete proper documentation
- [ ] Add unit, integration test
- [ ] API versioning capability. v1, v2
- [ ] Add Multi tenancy connection example
- [ ] socket integration?
- [ ] use redis cache instead of memory cache?
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
"scripts": {
"start": "run-p prod:**",
"prod:app": "NODE_ENV=production node ./bin/www.js",
"prod:worker:mail": "NODE_ENV=production node ./jobs/worker/mail.js",
"prod:worker:general": "NODE_ENV=production node ./jobs/worker/general.js",
"startWorkerProd": "NODE_ENV=production node ./jobs/worker/worker.js -- -w",
"prod:worker:mail": "npm run startWorkerProd mail",
"prod:worker:general": "npm run startWorkerProd general",
"prod:worker:results": "npm run startWorkerProd results",
"dev-a": "run-p dev worker",
"dev": "NODE_ENV=development nodemon ./bin/www.js",
"dev-a": "NODE_ENV=development run-p dev worker",
"dev:www": "NODE_ENV=development nodemon ./bin/www.js",
"startWorker": "nodemon ./jobs/worker/worker.js -- -w",
"startWorker": "NODE_ENV=development nodemon ./jobs/worker/worker.js -- -w",
"worker": "run-p worker:*",
"worker:mail": "npm run startWorker mail",
"worker:general": "npm run startWorker general",
Expand Down

0 comments on commit de678ef

Please sign in to comment.