xiaoju-survey/server/package.json

45 lines
1.2 KiB
JSON

{
"name": "survey-template",
"version": "1.0.0",
"description": "survey server template",
"main": "index.js",
"scripts": {
"build": "tsc",
"start:stable": "npm run build && SERVER_ENV=stable node ./build/index.js",
"start:preonline": "npm run build && SERVER_ENV=preonline node ./build/index.js",
"start:online": "npm run build && SERVER_ENV=online node ./build/index.js",
"start": "npm run start:online",
"local": "npx ts-node scripts/run-local.ts",
"dev": "npx ts-node-dev ./src/index.ts"
},
"devDependencies": {
"@types/crypto-js": "^4.2.1",
"@types/koa": "^2.13.8",
"@types/koa-bodyparser": "^4.3.10",
"@types/koa-router": "^7.4.4",
"cross-env": "^7.0.3",
"mongodb-memory-server": "^9.0.1",
"nodemon": "^2.0.20",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typescript": "^4.8.4"
},
"dependencies": {
"crypto-js": "^4.2.0",
"joi": "^17.9.2",
"jsonwebtoken": "^9.0.1",
"koa": "^2.14.2",
"koa-bodyparser": "^4.4.1",
"koa-pino-logger": "^4.0.0",
"koa-router": "^12.0.0",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"mongodb": "^5.7.0",
"svg-captcha": "^1.4.0"
},
"engines": {
"node": ">=14.21.0",
"npm": ">=6.14.17"
}
}