-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.25 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "mmgc_backend",
"version": "1.0.0",
"description": "mmgc backend by koa2 + typescript + mongodb",
"main": "index.js",
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "eslint ./",
"dev": "cross-env NODE_ENV=dev MODE=dev nodemon --watch src -e ts --delay 500ms --exec ts-node -r tsconfig-paths/register src/index.ts --files",
"dev:prod": "cross-env NODE_ENV=prod MODE=prod nodemon --watch src -e ts --delay 500ms --exec ts-node -r tsconfig-paths/register src/index.ts --files",
"pm2": "cross-env NODE_ENV=prod pm2 start ecosystem.config.js",
"start": "cross-env NODE_ENV=prod pm2 start ecosystem.config.js --env production",
"start:dev": "cross-env NODE_ENV=dev pm2 start ecosystem.config.js",
"node:test": "tsc -p tsconfig.json && cross-env NODE_ENV=prod ts-node -r tsconfig-paths/register ./dist/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/ADKcodeXD/MMGC-backend.git"
},
"author": "ADKcode <790532173@qq.com>",
"license": "MIT",
"dependencies": {
"ajv": "8.11.0",
"ajv-errors": "^3.0.0",
"axios": "^1.2.6",
"backblaze-b2": "^1.7.0",
"body-parser": "^1.20.1",
"cos-nodejs-sdk-v5": "^2.11.15",
"dayjs": "^1.11.7",
"dotenv": "^16.0.3",
"ioredis": "^5.3.1",
"jsonwebtoken": "^9.0.0",
"koa": "^2.13.4",
"koa-body": "^6.0.1",
"koa-json-error": "^3.1.2",
"koa-jwt": "^4.0.3",
"koa-router": "^12.0.0",
"koa2-cors": "^2.0.6",
"log4js": "^6.8.0",
"module-alias": "^2.2.2",
"mongoose": "^6.7.0",
"nodemailer": "^6.8.0",
"qiniu": "^7.8.0",
"reflect-metadata": "^0.1.13",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.20.0",
"@types/backblaze-b2": "^1.5.2",
"@types/jsonwebtoken": "^8.5.9",
"@types/koa": "^2.13.5",
"@types/koa-bodyparser": "^4.3.9",
"@types/koa-json-error": "^3.1.4",
"@types/koa-logger": "^3.1.2",
"@types/koa-router": "^7.4.4",
"@types/koa2-cors": "^2.0.2",
"@types/nodemailer": "^6.4.6",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"cross-env": "^7.0.3",
"eslint": "^8.26.0",
"eslint-plugin-prettier": "^4.2.1",
"nodemon": "^2.0.20",
"prettier": "^2.5.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "^4.4.4"
}
}