erp-retail-backend/package.json

62 lines
1.8 KiB
JSON

{
"name": "@erp-suite/retail-backend",
"version": "0.1.0",
"description": "Backend for ERP Retail vertical - Point of Sale, Inventory, E-commerce",
"main": "dist/index.js",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js",
"lint": "eslint src --ext .ts",
"typecheck": "tsc --noEmit",
"test": "jest",
"typeorm": "typeorm-ts-node-commonjs",
"migration:generate": "npm run typeorm -- migration:generate -d src/config/typeorm.ts",
"migration:run": "npm run typeorm -- migration:run -d src/config/typeorm.ts",
"migration:revert": "npm run typeorm -- migration:revert -d src/config/typeorm.ts"
},
"dependencies": {
"express": "^4.18.2",
"cors": "^2.8.5",
"helmet": "^7.1.0",
"compression": "^1.7.4",
"morgan": "^1.10.0",
"dotenv": "^16.3.1",
"pg": "^8.11.3",
"typeorm": "^0.3.28",
"reflect-metadata": "^0.2.2",
"ioredis": "^5.8.2",
"jsonwebtoken": "^9.0.2",
"bcryptjs": "^2.4.3",
"uuid": "^9.0.1",
"zod": "^3.22.4",
"winston": "^3.11.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"socket.io": "^4.7.4"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/cors": "^2.8.17",
"@types/compression": "^1.7.5",
"@types/morgan": "^1.9.9",
"@types/node": "^20.10.6",
"@types/jsonwebtoken": "^9.0.5",
"@types/bcryptjs": "^2.4.6",
"@types/uuid": "^9.0.7",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"typescript": "^5.3.3",
"tsx": "^4.6.2",
"eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.11"
},
"engines": {
"node": ">=20.0.0"
}
}