-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
139 lines (139 loc) · 5.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
134
135
136
137
138
139
{
"name": "onlinejudge3-be",
"version": "3.0.0",
"description": "",
"private": true,
"scripts": {
"init-submodule": "git submodule init && git submodule update",
"pull-submodule": "git submodule foreach git pull origin master",
"build": "midway-bin build -c -p tsconfig.prod.json && gulp dist:postprocess",
"ci": "npm run cov",
"clean": "midway-bin clean",
"cov": "cross-env DEBUG=-* midway-bin cov --ts",
"cov-serve": "static-server coverage/lcov-report -p 7087",
"debug": "cross-env NODE_ENV=development DEBUG=oj3:*,simple-git midway-bin debug --ts --debug-port=9230 --proxy=9710",
"dev": "cross-env NODE_ENV=development DEBUG=oj3:*,simple-git midway-bin dev --ts",
"dev-w2": "cross-env NODE_ENV=development DEBUG=oj3:*,simple-git,egg-socket.io* midway-bin dev --ts --workers=2",
"devtest": "cross-env TS_NODE_PROJECT=test/tsconfig.json NODE_ENV=test DEBUG=-* midway-bin test --ts",
"dev-socket-io": "cd src/sub-app/socket-io && npm run dev",
"debug-socket-io": "cd src/sub-app/socket-io && npm run debug",
"lint": "eslint --fix {src,test}/**/*.ts",
"start-build": "npm run build && cross-env NODE_ENV=development midway-bin dev",
"start": "egg-scripts start --daemon --title=egg-server-onlinejudge3-be --framework=midway --ts --ignore-stderr",
"start:bak": "egg-scripts start --daemon --title=egg-server-onlinejudge3-be-bak --framework=midway --ts --ignore-stderr",
"stop": "egg-scripts stop --title=egg-server-onlinejudge3-be",
"stop:bak": "egg-scripts stop --title=egg-server-onlinejudge3-be-bak",
"restart": "npm stop && npm start",
"restart:bak": "npm run stop:bak && npm run start:bak",
"test": "cross-env DEBUG=-* npm run lint && npm run devtest",
"gen:contract": "cross-env IS_EXEC_FROM_PKG_SCRIPT=1 ts-node -T scripts/contract2ts.ts",
"gen:proto:river": "pbjs -t static-module -w commonjs -r river --force-long -o src/proto/river/index.js src/proto/river/river.proto && pbts -o src/proto/river/index.d.ts src/proto/river/index.js && copyfiles --verbose src/proto/river/**/* src/sub-app/judger-agent/",
"gen:proto:judge": "pbjs -t static-module -w commonjs -r judge --force-long -o src/proto/judge/index.js src/proto/judge/judge.proto && pbts -o src/proto/judge/index.d.ts src/proto/judge/index.js && copyfiles --verbose src/proto/judge/**/* src/sub-app/judger-agent/"
},
"dependencies": {
"@grpc/grpc-js": "^1.6.7",
"@grpc/proto-loader": "^0.5.6",
"adm-zip": "^0.4.14",
"ajv": "^6.12.0",
"alimail-sdk-fork": "^1.0.7",
"chalk": "^4.0.0",
"co-busboy": "^1.5.0",
"cos-nodejs-sdk-v5": "^2.12.5",
"crypto-js": "^4.2.0",
"crypto-random-string": "^3.2.0",
"dayjs": "^1.11.13",
"egg": "^2.37.0",
"egg-alinode": "^2.0.1",
"egg-redis": "^2.6.0",
"egg-scripts": "^2.10.0",
"egg-security": "^2.11.0",
"egg-sequelize": "^5.2.1",
"egg-session": "^3.3.0",
"egg-session-redis": "^2.1.0",
"egg-socket.io": "^4.1.6",
"execa": "^5.1.1",
"fflate": "^0.8.2",
"fs-extra": "^9.0.0",
"http": "0.0.1-security",
"ip": "^1.1.5",
"isbinaryfile": "^4.0.6",
"isolated-vm": "^4.7.2",
"lodash": "^4.17.15",
"long": "^4.0.0",
"md5": "^2.2.1",
"microtime": "^3.1.1",
"midway": "^1.0.0",
"mysql2": "^2.1.0",
"promise-queue": "^2.2.5",
"protobufjs": "^6.10.2",
"pulsar-client": "^1.12.0",
"sequelize-typescript": "^1.1.0",
"sharp": "^0.29.3",
"simple-git": "^2.9.0",
"sleep-promise": "^8.0.1",
"tencentcloud-sdk-nodejs": "^4.0.259",
"traverse": "^0.6.6",
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/adm-zip": "^0.4.33",
"@types/bluebird": "^3.5.30",
"@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^9.0.1",
"@types/ip": "^1.1.0",
"@types/json-schema": "^7.0.4",
"@types/lodash": "^4.14.151",
"@types/long": "^4.0.1",
"@types/md5": "^2.2.0",
"@types/microtime": "^2.1.2",
"@types/mocha": "^5.2.7",
"@types/node": "^10.17.18",
"@types/promise-queue": "^2.2.0",
"@types/redis": "^2.8.18",
"@types/sharp": "^0.25.0",
"@types/traverse": "^0.6.32",
"@types/uuid": "^8.3.1",
"@types/validator": "^12.0.1",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"copyfiles": "^2.4.1",
"cross-env": "^6.0.0",
"egg-ci": "^1.8.0",
"eslint": "^6.8.0",
"eslint-config-alloy": "^3.6.0",
"gulp": "^4.0.2",
"gulp-watch": "^5.0.1",
"json-schema-to-typescript": "^9.1.0",
"midway-bin": "1",
"midway-mock": "1",
"mocha": "^6.2.0",
"static-server": "^2.2.1",
"through2": "^3.0.1",
"ts-node": "^8.3.0",
"tsconfig-paths": "^3.9.0",
"tslib": "^1.8.1",
"typescript": "3.8.3"
},
"engines": {
"node": ">=10.16.0"
},
"ci": {
"version": "10, 12"
},
"midway-bin-clean": [
".vscode/.tsbuildinfo",
"dist"
],
"midway-bin-build": {
"include": [
"app/public",
"proto"
]
},
"repository": {
"type": "git",
"url": ""
},
"author": "bLue",
"license": ""
}