-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
85 lines (85 loc) · 2.17 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
{
"name": "ts-koa-starter",
"version": "1.0.0",
"description": "一个简单的koa+typescript+typeorm的起手式",
"tags": [
"orm",
"typescript",
"koa"
],
"scripts": {
"start": "nodemon",
"build": "tsc",
"rebuild": "node ./public/script/compile.js",
"pro": "npx pm2 start ecosystem.config.js --env production",
"restart": "pm2 restart ecosystem.config.js --env production",
"stop": "npx pm2 stop ecosystem.config.js",
"test": "cross-env TS_NODE_PROJECT='test/tsconfig.test.json' mocha test/**/**.test.ts --exit",
"cover": "nyc --reporter=html npm run test"
},
"mocha": {
"require": [
"ts-node/register",
"tsconfig-paths/register"
],
"ui": "bdd"
},
"dependencies": {
"@prisma/client": "4.12.0",
"axe": "^12.1.0",
"cabin": "^13.1.0",
"dotenv": "^10.0.0",
"ioredis": "^4.27.6",
"jsonwebtoken": "^8.5.1",
"koa": "^2.13.1",
"koa-body": "^4.2.0",
"koa-jwt": "^4.0.1",
"koa-redis": "^4.0.1",
"koa-router": "^10.0.0",
"koa-static": "^5.0.0",
"koa-websocket": "^6.0.0",
"md5": "^2.3.0",
"moment": "^2.29.1",
"mysql": "^2.18.1",
"nodemailer": "^6.6.3",
"prisma": "^4.12.0",
"redis": "^3.1.2",
"reflect-metadata": "^0.1.13",
"signale": "^1.4.0",
"typeorm": "^0.2.34"
},
"devDependencies": {
"@types/chai": "^4.2.19",
"@types/chai-http": "^4.2.0",
"@types/ioredis": "^4.26.4",
"@types/jsonwebtoken": "^8.5.2",
"@types/koa": "^2.13.3",
"@types/koa-router": "^7.4.2",
"@types/koa-static": "^4.0.1",
"@types/mocha": "^8.2.2",
"@types/node": "^12.20.15",
"@types/redis": "^2.8.29",
"chai": "^4.3.4",
"chai-http": "^4.3.0",
"cross-env": "^7.0.3",
"mocha": "^9.0.1",
"nodemon": "^2.0.7",
"nyc": "^15.1.0",
"pm2": "4.5.6",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.3.4"
},
"prettier": {
"singleQuote": true,
"semi": true,
"tabWidth": 2,
"useTabs": false,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "avoid",
"jsxBracketSameLine": false,
"proseWrap": "preserve",
"printWidth": 80
}
}