- Add class-validator and class-transformer dependencies - Fix inventory entities index.ts exports - Add ConflictError to shared types - Fix ai.service.ts quota field names - Fix audit.service.ts field names and remove missing methods - Fix storage.service.ts bucket and file field names - Rewrite partners.service.ts/controller.ts to match entity - Fix product.entity.ts computed column syntax - Fix inventory-adjustment-line.entity.ts computed column - Fix webhooks.service.ts field names - Fix whatsapp.service.ts order field names - Fix swagger.config.ts import.meta.url issue Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"name": "@erp-generic/backend",
|
|
"version": "0.1.0",
|
|
"description": "ERP Generic Backend API",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"lint": "eslint src --ext .ts",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage"
|
|
},
|
|
"dependencies": {
|
|
"bcryptjs": "^2.4.3",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.3",
|
|
"compression": "^1.7.4",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^4.18.2",
|
|
"helmet": "^7.1.0",
|
|
"ioredis": "^5.8.2",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"morgan": "^1.10.0",
|
|
"pg": "^8.11.3",
|
|
"reflect-metadata": "^0.2.2",
|
|
"swagger-jsdoc": "^6.2.8",
|
|
"swagger-ui-express": "^5.0.1",
|
|
"typeorm": "^0.3.28",
|
|
"uuid": "^9.0.1",
|
|
"winston": "^3.11.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/compression": "^1.7.5",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/ioredis": "^4.28.10",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/morgan": "^1.9.9",
|
|
"@types/node": "^20.10.4",
|
|
"@types/pg": "^8.10.9",
|
|
"@types/swagger-jsdoc": "^6.0.4",
|
|
"@types/swagger-ui-express": "^4.1.8",
|
|
"@types/uuid": "^9.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
"@typescript-eslint/parser": "^6.14.0",
|
|
"eslint": "^8.56.0",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.1.1",
|
|
"tsx": "^4.6.2",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|