-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
133 lines (133 loc) · 4.02 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "rap2-delos",
"version": "2.9.0",
"repository": {
"url": "https://github.com/thx/rap2-delos"
},
"description": "",
"main": "dist/dispatch.js",
"scripts": {
"build": "rimraf -rf dist/ && tsc",
"test": "cross-env NODE_ENV=development cross-env TEST_MODE=true nyc mocha test/**/*.js",
"check": "echo \"Checking...\" && tsc && npm run lint",
"dev": "cross-env NODE_ENV=development nodemon src/scripts/dev.ts",
"dev-old": "tsc -w & cross-env NODE_ENV=development nodemon dist/scripts/dev.js",
"local-start": "cross-env NODE_ENV=development node dist/scripts/dev.js",
"create-db": "npm run build && cross-env NODE_ENV=development node dist/scripts/initSchema",
"start": "cross-env NODE_ENV=production pm2 start dist/dispatch.js --name=rap-server-delos",
"lint": "echo \"ESLint checking...\" && eslint src/**/*.ts --fix",
"start:redis": "pm2 start redis-server --name redis-server",
"clean": "pm2 delete all",
"build-docker": "docker build --rm -f \"Dockerfile\" -t udfteam/rap-server:latest ."
},
"mocha": {
"timeout": 8000,
"slow": 200,
"exit": true,
"allowUncaught": true
},
"author": "bosn, nuysoft",
"license": "ISC",
"dependencies": {
"@types/treeify": "^1.0.0",
"api-spec-converter": "^2.12.0",
"axios": "^0.24.0",
"bullmq": "^3.5.1",
"cfork": "^1.8.0",
"chalk": "^4.1.2",
"cross-env": "^7.0.3",
"curl-to-postmanv2": "^1.1.1",
"graceful": "^1.0.2",
"https": "^1.0.0",
"ioredis": "^5.3.1",
"is-md5": "^0.0.2",
"js-beautify": "^1.14.3",
"json-refs": "^3.0.15",
"json5": "^2.2.1",
"kcors": "^2.2.2",
"koa": "^2.13.4",
"koa-body": "^4.2.0",
"koa-generic-session": "^2.3.0",
"koa-logger": "^3.2.1",
"koa-redis": "^4.0.1",
"koa-router": "^10.1.1",
"koa-send": "^5.0.1",
"koa-static": "^5.0.0",
"lodash": "^4.17.21",
"mariadb": "^3.0.0",
"md5": "^2.3.0",
"mockjs": "1.1.0",
"moment": "^2.29.3",
"mysql": "^2.18.1",
"mysql2": "^2.3.3",
"nanoid": "^3.3.3",
"node-fetch": "^3.2.3",
"node-print": "0.0.4",
"node-schedule": "^2.1.0",
"nodemailer": "^6.7.3",
"notevil": "^1.3.3",
"path-to-regexp": "^6.2.0",
"promise-message": "^0.0.2",
"quicktype-core": "^6.1.0",
"rap-import-utils": "^0.0.3",
"redis": "^3.1.2",
"reflect-metadata": "^0.1.13",
"request": "^2.88.2",
"request-promise": "^4.2.5",
"sequelize": "^6.19.0",
"sequelize-typescript": "^2.1.3",
"svg-captcha": "^1.4.0",
"treeify": "^1.1.0",
"underscore": "^1.13.2",
"urllib": "^2.38.0",
"vm2": "^3.9.11",
"yup": "^0.32.11"
},
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/json5": "^0.0.30",
"@types/kcors": "^2.2.6",
"@types/koa": "^2.13.4",
"@types/koa-generic-session": "^2.2.1",
"@types/koa-logger": "^3.1.2",
"@types/koa-redis": "^4.0.2",
"@types/koa-router": "^7.4.4",
"@types/koa-static": "^4.0.2",
"@types/lodash": "^4.14.182",
"@types/md5": "^2.3.2",
"@types/mocha": "^9.1.0",
"@types/mockjs": "^1.0.6",
"@types/nanoid": "^2.1.0",
"@types/node": "^17.0.45",
"@types/node-schedule": "^1.3.2",
"@types/nodemailer": "^6.4.4",
"@types/redis": "^4.0.10",
"@types/request": "^2.48.8",
"@types/request-promise": "^4.1.48",
"@types/sequelize": "^4.28.11",
"@types/underscore": "^1.11.4",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"babel-eslint": "^10.1.0",
"chai": "^4.3.6",
"eslint": "^8.13.0",
"eslint-plugin-import": "^2.26.0",
"inquirer": "^8.2.2",
"mocha": "^9.2.2",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"openapi-types": "^12.0.2",
"pre-commit": "^1.2.2",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.21",
"standard": "^16.0.4",
"supertest": "^6.2.2",
"ts-node": "^10.9.1",
"typescript": "^4.6.3"
},
"pre-commit": [
"check"
]
}