{ "name": "bee-server", "private": true, "version": "1.0.0", "description": "bee server", "type": "module", "module": "index.js", "main": "index.js", "scripts": { "dev": "NODE_ENV=development nodemon --watch src -e ts,tsx --exec tsx ./src/index.ts | pino-pretty", "pro": "NODE_ENV=production node ./dist/index.js | pino-pretty", "build": "pnpm run rd:build", "install": "cp -rf ./dist/* /var/www/bee/server/", "start": "pm2 start /var/www/bee/server/index.js --name bee-server", "restart": "pm2 restart bee-server", "stop": "pm2 stop bee-server && pm2 delete bee-server", "ts:build": "rm -rf dist && tsc && tsc-alias -f", "es:build": "rm -rf dist && NODE_ENV=production node scripts/esbuild-build.js", "rd:build": "rm -rf dist && NODE_ENV=production rolldown -c", "pack": "NODE_ENV=production pkg .", "test": "echo \"Error: no test specified\" && exit 1" }, "bin": "dist/index.js", "pkg": { "scripts": "dist/**/*.js", "assets": [ "dist/**/*.json", ".env", ".env.production" ], "targets": [ "node14-linux-arm64" ], "outputPath": "bin" }, "keywords": [ "koa" ], "author": "jerry", "license": "ISC", "dependencies": { "@bull-board/api": "^6.6.2", "@bull-board/koa": "^6.6.2", "axios": "^1.7.7", "axios-retry": "^4.5.0", "bcryptjs": "^2.4.3", "bullmq": "^5.28.2", "date-fns": "^4.1.0", "dotenv": "^16.4.5", "i18next": "^23.16.5", "i18next-fs-backend": "^2.3.2", "i18next-http-middleware": "^3.6.0", "ioredis": "^5.4.1", "jsonwebtoken": "^9.0.2", "koa": "^2.15.3", "koa-body": "^6.0.1", "koa-i18next-detector": "^0.7.2", "koa-jwt": "^4.0.4", "koa-pino-logger": "^4.0.0", "koa-router": "^13.0.1", "koa-zod-errorhandler": "^1.0.0", "koa2-cors": "^2.0.6", "lodash": "^4.17.21", "md5": "^2.3.0", "mongoose": "^8.8.3", "mqtt": "^5.10.3", "pg": "^8.13.1", "pg-hstore": "^2.3.4", "pino": "^9.5.0", "pino-http": "^10.3.0", "qs": "^6.13.1", "query-string": "^9.1.1", "redis": "^4.7.0", "redlock": "^5.0.0-beta.2", "sequelize": "^6.37.5", "zod": "^3.23.8" }, "devDependencies": { "@types/bcryptjs": "^2.4.6", "@types/bull": "^3.15.9", "@types/jsonwebtoken": "^9.0.7", "@types/koa": "^2.15.0", "@types/koa-pino-logger": "^3.0.4", "@types/koa-router": "^7.4.8", "@types/koa2-cors": "^2.0.5", "@types/lodash": "^4.17.13", "@types/md5": "^2.3.5", "@types/node": "^22.9.0", "@types/pg": "^8.15.4", "esbuild": "^0.25.5", "esbuild-plugin-pino": "^2.2.2", "pino-pretty": "^11.3.0", "pkg": "^5.8.1", "rolldown": "1.0.0-beta.24", "tsc-alias": "^1.8.10", "tsx": "^4.19.2", "typescript": "^5.6.3" } }