jws-backend/package.json

66 lines
1.8 KiB
JSON
Raw Normal View History

2024-04-01 13:28:43 +07:00
{
2024-04-05 15:24:59 +07:00
"name": "jws-backend",
2024-04-01 13:28:43 +07:00
"version": "1.0.0",
"description": "",
"main": "./dist/app.js",
"scripts": {
"start": "node ./dist/app.js",
"dev": "nodemon",
"check": "tsc --noEmit",
"format": "prettier --write .",
2025-03-18 10:27:07 +07:00
"debug": "nodemon",
2024-04-01 13:28:43 +07:00
"build": "tsoa spec-and-routes && tsc",
2024-11-11 14:40:21 +07:00
"changelog:generate": "git-cliff -o CHANGELOG.md && git add CHANGELOG.md && git commit -m 'Update CHANGELOG.md'",
2024-04-01 21:08:40 +07:00
"db:generate": "prisma generate",
2024-04-01 13:28:43 +07:00
"db:push": "prisma db push",
"migrate:dev": "prisma migrate dev",
"migrate:deploy": "prisma migrate deploy"
},
"keywords": [],
"author": "Frappe'T",
"license": "ISC",
"devDependencies": {
2025-03-25 13:48:31 +07:00
"@types/barcode": "^0.0.33",
2024-04-01 13:28:43 +07:00
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
feat: line (#13) * add wedhook line * text message * add router get employee, request, quotation * move code * do not crash application when not set line token This feature is opt-in * dot not crash when not set line client id Main auth method is keycloak * change dotenv * fix: wrong env * refactor: change to get instead of post * refactor: remove body for employee get endpoint * feat: add work relation include * feat: include customer relation in employee * feat: add line file controller * add detail flex message and get date requestWork * chore: update deps lock * fix: error line token * fix: redirect head instead if response with body * feat: add response relation * fix: route casing * add userId in customerBranch verifyOTP * delete consile log * add is registered endpoint placeholder * feat: quotation list * fix: wrong endpoint name * feat: include relation in get by id request data * add where userId line * refactor: adjust parameter for liff app * delete code * refactor: remove post quotation endpoint * refactor: add where userId line for quotation * feat: add pending only parameter * refactor: more condition for inProgressOnly * refactor: update condition * feat: add line quotation attachment endpoint * feat: include product in request work line endpoint * refactor: pending only now cover more condition * feat: include invoice with payment relation * chore: update api docs tag * chore: clean * feat: check for registered user * fix: wrong file location * feat: add email client for sending an otp * chore: move some deps to dev deps * add otpCode otpExpires * add send-otp and verify-otp --------- Co-authored-by: Kanjana <kanjana@chamomind.com> Co-authored-by: chamomind <chamomind@localhost> Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
2025-02-20 16:07:16 +07:00
"@types/morgan": "^1.9.9",
"@types/node": "^20.17.10",
feat: line (#13) * add wedhook line * text message * add router get employee, request, quotation * move code * do not crash application when not set line token This feature is opt-in * dot not crash when not set line client id Main auth method is keycloak * change dotenv * fix: wrong env * refactor: change to get instead of post * refactor: remove body for employee get endpoint * feat: add work relation include * feat: include customer relation in employee * feat: add line file controller * add detail flex message and get date requestWork * chore: update deps lock * fix: error line token * fix: redirect head instead if response with body * feat: add response relation * fix: route casing * add userId in customerBranch verifyOTP * delete consile log * add is registered endpoint placeholder * feat: quotation list * fix: wrong endpoint name * feat: include relation in get by id request data * add where userId line * refactor: adjust parameter for liff app * delete code * refactor: remove post quotation endpoint * refactor: add where userId line for quotation * feat: add pending only parameter * refactor: more condition for inProgressOnly * refactor: update condition * feat: add line quotation attachment endpoint * feat: include product in request work line endpoint * refactor: pending only now cover more condition * feat: include invoice with payment relation * chore: update api docs tag * chore: clean * feat: check for registered user * fix: wrong file location * feat: add email client for sending an otp * chore: move some deps to dev deps * add otpCode otpExpires * add send-otp and verify-otp --------- Co-authored-by: Kanjana <kanjana@chamomind.com> Co-authored-by: chamomind <chamomind@localhost> Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
2025-02-20 16:07:16 +07:00
"@types/nodemailer": "^6.4.17",
"nodemon": "^3.1.9",
"prettier": "^3.4.2",
2025-02-03 16:03:56 +07:00
"prisma": "^6.3.0",
2024-06-26 11:22:48 +07:00
"prisma-kysely": "^1.8.0",
2024-04-01 13:28:43 +07:00
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
2024-04-01 13:28:43 +07:00
},
"dependencies": {
"@elastic/elasticsearch": "^8.17.0",
2024-10-30 08:47:12 +07:00
"@fast-csv/parse": "^5.0.2",
2025-02-03 16:03:56 +07:00
"@prisma/client": "^6.3.0",
2025-02-20 10:44:28 +07:00
"@scalar/express-api-reference": "^0.4.182",
"@tsoa/runtime": "^6.6.0",
2025-03-25 13:48:31 +07:00
"barcode": "^0.1.0",
2024-04-01 13:28:43 +07:00
"cors": "^2.8.5",
"cron": "^3.3.1",
feat: line (#13) * add wedhook line * text message * add router get employee, request, quotation * move code * do not crash application when not set line token This feature is opt-in * dot not crash when not set line client id Main auth method is keycloak * change dotenv * fix: wrong env * refactor: change to get instead of post * refactor: remove body for employee get endpoint * feat: add work relation include * feat: include customer relation in employee * feat: add line file controller * add detail flex message and get date requestWork * chore: update deps lock * fix: error line token * fix: redirect head instead if response with body * feat: add response relation * fix: route casing * add userId in customerBranch verifyOTP * delete consile log * add is registered endpoint placeholder * feat: quotation list * fix: wrong endpoint name * feat: include relation in get by id request data * add where userId line * refactor: adjust parameter for liff app * delete code * refactor: remove post quotation endpoint * refactor: add where userId line for quotation * feat: add pending only parameter * refactor: more condition for inProgressOnly * refactor: update condition * feat: add line quotation attachment endpoint * feat: include product in request work line endpoint * refactor: pending only now cover more condition * feat: include invoice with payment relation * chore: update api docs tag * chore: clean * feat: check for registered user * fix: wrong file location * feat: add email client for sending an otp * chore: move some deps to dev deps * add otpCode otpExpires * add send-otp and verify-otp --------- Co-authored-by: Kanjana <kanjana@chamomind.com> Co-authored-by: chamomind <chamomind@localhost> Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
2025-02-20 16:07:16 +07:00
"dayjs": "^1.11.13",
"dayjs-plugin-utc": "^0.1.2",
"docx-templates": "^4.13.0",
"dotenv": "^16.4.7",
"express": "^4.21.2",
2025-02-03 16:03:56 +07:00
"fast-jwt": "^5.0.5",
2025-03-05 17:49:47 +07:00
"json-2-csv": "^5.5.8",
"kysely": "^0.27.5",
2024-10-30 08:47:12 +07:00
"minio": "^8.0.2",
2024-07-31 15:29:48 +07:00
"morgan": "^1.10.0",
feat: line (#13) * add wedhook line * text message * add router get employee, request, quotation * move code * do not crash application when not set line token This feature is opt-in * dot not crash when not set line client id Main auth method is keycloak * change dotenv * fix: wrong env * refactor: change to get instead of post * refactor: remove body for employee get endpoint * feat: add work relation include * feat: include customer relation in employee * feat: add line file controller * add detail flex message and get date requestWork * chore: update deps lock * fix: error line token * fix: redirect head instead if response with body * feat: add response relation * fix: route casing * add userId in customerBranch verifyOTP * delete consile log * add is registered endpoint placeholder * feat: quotation list * fix: wrong endpoint name * feat: include relation in get by id request data * add where userId line * refactor: adjust parameter for liff app * delete code * refactor: remove post quotation endpoint * refactor: add where userId line for quotation * feat: add pending only parameter * refactor: more condition for inProgressOnly * refactor: update condition * feat: add line quotation attachment endpoint * feat: include product in request work line endpoint * refactor: pending only now cover more condition * feat: include invoice with payment relation * chore: update api docs tag * chore: clean * feat: check for registered user * fix: wrong file location * feat: add email client for sending an otp * chore: move some deps to dev deps * add otpCode otpExpires * add send-otp and verify-otp --------- Co-authored-by: Kanjana <kanjana@chamomind.com> Co-authored-by: chamomind <chamomind@localhost> Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
2025-02-20 16:07:16 +07:00
"nodemailer": "^6.10.0",
"prisma-extension-kysely": "^3.0.0",
2024-04-01 13:28:43 +07:00
"promise.any": "^2.0.6",
"thai-baht-text": "^2.0.5",
"to-words": "^4.2.0",
"tsoa": "^6.6.0",
2024-11-13 11:54:45 +07:00
"winston": "^3.17.0",
2024-07-31 15:29:48 +07:00
"winston-elasticsearch": "^0.19.0"
},
"packageManager": "pnpm@9.15.0"
2024-04-01 13:28:43 +07:00
}