-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
51 lines (51 loc) · 1.46 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
{
"name": "server",
"version": "1.0.0",
"main": "src/app.ts",
"author": "wujunjie",
"license": "MIT",
"scripts": {
"dev": "nodemon src/app.ts",
"test": "pm2 start src/config/pm2.config.js --only test",
"prod": "pm2 start src/config/pm2.config.js --only production",
"stop": "pm2 stop src/config/pm2.config.js",
"delete": "pm2 delete src/config/pm2.config.js",
"list": "pm2 list",
"tsc": "tsc && npm run copy-package && npm run copy-assets",
"copy-package": "cp package.json dist/",
"copy-assets": "cp src/assets/apiclient_key.pem src/assets/apiclient_cert.pem dist/src/assets/"
},
"dependencies": {
"axios": "^1.6.0",
"crypto": "^1.0.1",
"dayjs": "^1.11.10",
"decimal.js": "^10.4.3",
"jsonwebtoken": "^9.0.1",
"koa": "^2.14.2",
"koa-body": "^6.0.1",
"koa-router": "^12.0.0",
"log4js": "^6.9.1",
"mime-types": "^2.1.35",
"mysql2": "^3.5.2",
"pm2": "^5.3.0",
"qs": "^6.11.2",
"sequelize": "^6.32.1",
},
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/jsonwebtoken": "^9.0.2",
"@types/koa": "^2.13.6",
"@types/koa-router": "^7.4.4",
"@types/log4js": "^2.3.5",
"@types/mime-types": "^2.1.3",
"@types/mysql": "^2.15.21",
"@types/node": "^20.4.2",
"@types/qs": "^6.9.7",
"@types/sequelize": "^4.28.15",
"eslint": "^8.45.0",
"nodemon": "^3.0.1",
"prettier": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
}
}