* 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>
61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
{
|
|
"name": "jws-backend",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "./dist/app.js",
|
|
"scripts": {
|
|
"start": "node ./dist/app.js",
|
|
"dev": "nodemon",
|
|
"check": "tsc --noEmit",
|
|
"format": "prettier --write .",
|
|
"build": "tsoa spec-and-routes && tsc",
|
|
"changelog:generate": "git-cliff -o CHANGELOG.md && git add CHANGELOG.md && git commit -m 'Update CHANGELOG.md'",
|
|
"db:generate": "prisma generate",
|
|
"db:push": "prisma db push",
|
|
"migrate:dev": "prisma migrate dev",
|
|
"migrate:deploy": "prisma migrate deploy"
|
|
},
|
|
"keywords": [],
|
|
"author": "Frappe'T",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/morgan": "^1.9.9",
|
|
"@types/node": "^20.17.10",
|
|
"@types/nodemailer": "^6.4.17",
|
|
"nodemon": "^3.1.9",
|
|
"prettier": "^3.4.2",
|
|
"prisma": "^6.3.0",
|
|
"prisma-kysely": "^1.8.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.7.2"
|
|
},
|
|
"dependencies": {
|
|
"@elastic/elasticsearch": "^8.17.0",
|
|
"@fast-csv/parse": "^5.0.2",
|
|
"@prisma/client": "^6.3.0",
|
|
"@scalar/express-api-reference": "^0.4.182",
|
|
"@tsoa/runtime": "^6.6.0",
|
|
"cors": "^2.8.5",
|
|
"cron": "^3.3.1",
|
|
"dayjs": "^1.11.13",
|
|
"dayjs-plugin-utc": "^0.1.2",
|
|
"docx-templates": "^4.13.0",
|
|
"dotenv": "^16.4.7",
|
|
"express": "^4.21.2",
|
|
"fast-jwt": "^5.0.5",
|
|
"kysely": "^0.27.5",
|
|
"minio": "^8.0.2",
|
|
"morgan": "^1.10.0",
|
|
"nodemailer": "^6.10.0",
|
|
"prisma-extension-kysely": "^3.0.0",
|
|
"promise.any": "^2.0.6",
|
|
"thai-baht-text": "^2.0.5",
|
|
"to-words": "^4.2.0",
|
|
"tsoa": "^6.6.0",
|
|
"winston": "^3.17.0",
|
|
"winston-elasticsearch": "^0.19.0"
|
|
},
|
|
"packageManager": "pnpm@9.15.0"
|
|
}
|