-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
96 lines (96 loc) · 2.48 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
{
"name": "putong-oj",
"version": "2.1.0-beta.1",
"author": "lazzzis",
"contributors": [
{
"name": "lazzzis",
"url": "https://github.com/lazzzis"
},
{
"name": "Kerminate",
"url": "https://github.com/Kerminate"
}
],
"license": "MIT",
"repository": "https://github.com/acm309/PutongOJ.git",
"main": "app.js",
"engines": {
"node": ">= 16.0.0"
},
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon app.js",
"start": "cross-env NODE_ENV=production node app.js",
"deploy:init": "cross-env NODE_ENV=production node manage.js",
"deploy:start": "npx pm2 start pm2.config.json",
"pretest": "cross-env NODE_ENV=test node test/pretest.js",
"test": "cross-env NODE_ENV=test node test/pretest.js && nyc ava && node test/posttest.js",
"report": "nyc report --reporter=html",
"posttest": "cross-env NODE_ENV=test node test/posttest.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
"prepare": "husky install"
},
"dependencies": {
"@antfu/eslint-config": "^2.27.3",
"cross-env": "^5.2.1",
"dotenv-flow": "^3.3.0",
"eslint": "^8.57.1",
"execa": "5.1.1",
"fs-extra": "^5.0.0",
"husky": "^8.0.3",
"ioredis": "^3.2.2",
"koa": "^2.15.3",
"koa-body": "^2.6.0",
"koa-logger": "^3.2.1",
"koa-router": "^7.4.0",
"koa-send": "^4.1.3",
"koa-session": "^5.13.1",
"koa-static": "^4.0.3",
"koa2-ratelimit": "^0.9.1",
"lodash.difference": "^4.5.0",
"lodash.pickby": "^4.6.0",
"lodash.range": "^3.2.0",
"lodash.remove": "^4.7.0",
"lodash.without": "^4.4.0",
"mongoose": "^6.13.3",
"mongoose-paginate-v2": "^1.8.5",
"node-fetch": "^2.7.0",
"nodemailer": "^4.7.0",
"only": "^0.0.2",
"pm2": "^5.4.2",
"tracer": "^0.8.15",
"url-join": "^4.0.1",
"uuid": "^3.4.0"
},
"devDependencies": {
"ava": "^4.3.3",
"codecov": "^3.8.3",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"nodemon": "^1.19.4",
"nyc": "^15.1.0",
"supertest": "^3.4.2",
"typescript": "^4.9.5"
},
"nodemonConfig": {
"ignore": [
"data/*",
"services/*"
]
},
"husky": {
"hooks": {
"pre-push": "pnpm run lint"
}
},
"ava": {
"files": [
"test/**/*.test.js"
]
}
}