-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 4.27 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
{
"name": "CUP-Online-Judge-BackEnd",
"author": "Ryan Lee <gxlhybh@gmail.com>",
"homepage": "https://github.com/ryanlee2014",
"version": "3.30.29",
"engines": {
"node": ">=12.0.0"
},
"os": [
"darwin",
"linux",
"win32"
],
"repository": {
"type": "git",
"url": "https://github.com/CUP-ACM-Programming-Club/CUP-Online-Judge-Express.git"
},
"license": "Apache-2.0",
"dependencies": {
"@alicloud/opentracing": "^0.1.1",
"@ryanlee2014/markdown-it-katex": "^1.0.4",
"@types/mustache": "^4.1.2",
"@types/node": "^14.14.5",
"await-lock": "^2.1.0",
"base64-img": "^1.0.4",
"bluebird": "^3.7.2",
"body-parser": "^1.19.0",
"cheerio": "^1.0.0-rc.3",
"compression": "^1.7.4",
"connect-redis": "^5.0.0",
"cookie": "^0.4.1",
"cookie-parser": "^1.4.5",
"crypto-js": "^4.0.0",
"dayjs": "^1.10.8",
"debug": "^4.2.0",
"dos2unix": "^1.1.2",
"ejs": "^3.1.5",
"escape-html": "^1.0.3",
"express": "^4.17.1",
"express-github-webhook": "^1.0.6",
"express-php-fpm": "^2.0.2",
"express-session": "^1.17.1",
"express-status-monitor": "^1.3.3",
"fomantic-ui": "^2.8.7",
"hash-generator": "^0.1.0",
"helmet": "^4.1.1",
"iconv-lite": "^0.6.2",
"ip": "^2.0.0",
"is-image": "^3.0.0",
"is-promise": "^4.0.0",
"jschardet": "^2.2.1",
"lodash": "^4.17.20",
"log4js": "^6.3.0",
"markdown-it": "^12.0.2",
"markdown-it-highlightjs": "^3.3.0",
"memcached": "^2.2.2",
"meteor-random": "^0.0.3",
"morgan": "^1.10.0",
"multer": "^1.4.2",
"mustache": "^4.2.0",
"mysql2": "^2.2.5",
"node-cache": "^5.1.2",
"npm-check-updates": "^9.2.3",
"pug": "^3.0.0",
"random": "^2.2.0",
"read-last-lines": "^1.7.2",
"redis": "^3.0.2",
"reflect-metadata": "^0.1.13",
"request": "^2.88.2",
"request-ip": "^2.1.3",
"rimraf": "^3.0.2",
"sequelize": "^5.22.3",
"sequelize-typescript": "1.1.0",
"session-file-store": "^1.5.0",
"sha1": "^1.1.1",
"simple-git": "^3.3.0",
"socket.io": "^2.3.0",
"socket.io-client": "^2.3.1",
"strip-bom": "^4.0.0",
"svg-captcha": "^1.4.0",
"timediff": "^1.1.1",
"tinyqueue": "^2.0.3",
"typescript": "^4.1.2",
"uuid": "^8.3.1",
"ws": "^7.3.1"
},
"main": "./dist/bin/main.js",
"scripts": {
"build": "tsc",
"debug": "node dist/bin/master.js --NODE_ENV=production --MODE=http",
"front": "NODE_ENV=test node --max-old-space-size=5000 ./dist/bin/websocket.js",
"start": "NODE_LOG_DIR=/home/CUP-Online-Judge-Express/logs ENABLE_NODE_LOG=YES pm2 start pm2.json --node-args=\"--max-old-space-size=5000\"",
"websocket:start": "NODE_LOG_DIR=/home/CUP-Online-Judge-Express/logs ENABLE_NODE_LOG=YES pm2 start websocket.pm2.json --node-args=\"--max-old-space-size=5000\"",
"websocket:stop": "pm2 stop websocket.pm2.json --node-args=\"--max-old-space-size=5000\"",
"websocket:restart": "npm run websocket:stop && npm run websocket:start",
"reload": "pm2 reload pm2.json --node-args=\"--max-old-space-size=5000\"",
"stop": "pm2 stop pm2.json",
"test": "NODE_ENV=autotest node --max-old-space-size=5000 npm run build && ./dist/bin/websocket.js && _mocha --recursive",
"restart": "pm2 stop pm2.json && pm2 start pm2.json --node-args=\"--max-old-space-size=5000\"",
"local": "NODE_ENV=local node --max-old-space-size=5000 ./dist/bin/websocket.js",
"lint": "eslint --fix ./",
"calculate-line": "git ls-files | grep -v \"dist\" | grep -v \"semantic\" | grep -v \"static\" | xargs wc -l\n"
},
"devDependencies": {
"@types/bluebird": "^3.5.33",
"@types/chai": "^4.2.14",
"@types/cookie": "^0.4.0",
"@types/express": "^4.17.8",
"@types/express-session": "1.17.0",
"@types/is-promise": "^2.1.0",
"@types/lodash": "^4.14.163",
"@types/mocha": "^8.0.3",
"@types/multer": "^1.4.4",
"@types/mysql": "^2.15.15",
"@types/redis": "^2.8.28",
"@types/socket.io": "^2.1.11",
"@types/socket.io-client": "^1.4.34",
"@types/uuid": "^8.3.0",
"@types/validator": "^13.1.0",
"@types/ws": "^7.2.9",
"chai": "^4.2.0",
"codecov": "^3.8.0",
"eslint": "^7.12.1",
"mocha": "^8.2.0",
"mysql-import": "^4.0.24",
"nyc": "^15.1.0",
"supertest": "^6.0.0",
"ts-node": "^9.0.0"
}
}