-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
116 lines (116 loc) · 5.49 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
{
"name": "billd-desk-server",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/galaxy-s10/billd-desk-server"
},
"license": "MIT",
"author": "shuisheng <[email protected]>",
"scripts": {
"build": "rimraf dist && tsc -P ./tsconfig.prod.json || true",
"copy": "ts-node ./deploy/handleGiteeJenkins.mjs",
"cz": "cz",
"dev": "cross-env NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-desk-server NODE_APP_RELEASE_PROJECT_ENV=development NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon --exec node -r @swc-node/register ./src/index.ts",
"dev:beta": "cross-env NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-desk-server NODE_APP_RELEASE_PROJECT_ENV=beta NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon --exec node -r @swc-node/register ./src/index.ts",
"dev:prod": "cross-env NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-desk-server NODE_APP_RELEASE_PROJECT_ENV=prod NODE_APP_RELEASE_PROJECT_PORT=4200 nodemon --exec node -r @swc-node/register ./src/index.ts",
"docker:dev": "cross-env NODE_ENV=development NODE_APP_RELEASE_PROJECT_ALIAS=src NODE_APP_RELEASE_PROJECT_NAME=billd-desk-server NODE_APP_RELEASE_PROJECT_ENV=development NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon --exec node -r @swc-node/register ./src/init/docker.ts",
"docker:prod": "cross-env NODE_ENV=production NODE_APP_RELEASE_PROJECT_ALIAS=src NODE_APP_RELEASE_PROJECT_NAME=billd-desk-server NODE_APP_RELEASE_PROJECT_ENV=prod NODE_APP_RELEASE_PROJECT_PORT=4200 nodemon --exec node -r @swc-node/register ./src/init/docker.ts",
"lint": "eslint --config ./.eslintrc.js . --ext .js,.ts --cache",
"lint:fix": "eslint --config ./.eslintrc.js . --ext .js,.ts --cache --fix",
"mysql:beta": "cross-env NODE_APP_INIT_MYSQL=true NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-desk-server NODE_APP_RELEASE_PROJECT_ENV=beta NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon --exec node -r @swc-node/register ./src/index.ts",
"mysql:dev": "cross-env NODE_APP_INIT_MYSQL=true NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-desk-server NODE_APP_RELEASE_PROJECT_ENV=development NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon --exec node -r @swc-node/register ./src/index.ts",
"mysql:prod": "cross-env NODE_APP_INIT_MYSQL=true NODE_ENV=development NODE_APP_RELEASE_PROJECT_NAME=billd-desk-server NODE_APP_RELEASE_PROJECT_ENV=prod NODE_APP_RELEASE_PROJECT_PORT=4200 nodemon --exec node -r @swc-node/register ./src/index.ts",
"prepare": "husky install",
"prettier": "prettier --write .",
"push": "cz && standard-version",
"release": "standard-version",
"release:first": "standard-version --first-release",
"start:beta": "cross-env NODE_ENV=production NODE_APP_RELEASE_PROJECT_NAME=billd-desk-server NODE_APP_RELEASE_PROJECT_ENV=beta NODE_APP_RELEASE_PROJECT_PORT=4300 nodemon ./dist/index.js",
"start:prod": "cross-env NODE_ENV=production NODE_APP_RELEASE_PROJECT_NAME=billd-desk-server NODE_APP_RELEASE_PROJECT_ENV=prod NODE_APP_RELEASE_PROJECT_PORT=4200 nodemon ./dist/index.js",
"typecheck": "tsc -p ./tsconfig.prod.json --noEmit"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@socket.io/redis-adapter": "^8.0.0",
"alipay-sdk": "^3.4.0",
"amqplib": "^0.10.3",
"autocannon": "^7.14.0",
"axios": "^1.4.0",
"billd-deploy": "^1.0.23",
"billd-html-webpack-plugin": "^1.0.6",
"billd-scss": "^0.0.8",
"billd-utils": "^0.0.22",
"chalk": "^4.1.2",
"crypto-js": "^4.1.1",
"dayjs": "^1.11.3",
"fs-extra": "^11.2.0",
"joi": "^17.5.0",
"jsonwebtoken": "^8.5.1",
"koa": "^2.13.4",
"koa-body": "^5.0.0",
"koa-bodyparser": "^4.3.0",
"koa-conditional-get": "^3.0.0",
"koa-convert": "^2.0.0",
"koa-csrf": "^3.0.8",
"koa-etag": "^4.0.0",
"koa-generic-session": "^2.3.0",
"koa-router": "^10.1.1",
"koa-static": "^5.0.0",
"module-alias": "^2.2.2",
"mysql2": "^2.3.3",
"node-emoji": "^1.11.0",
"node-media-server": "^2.5.0",
"node-schedule": "^2.1.0",
"nodemailer": "^6.7.2",
"qiniu": "7.4.0",
"redis": "^4.0.4",
"rimraf": "^5.0.1",
"sequelize": "^6.32.1",
"socket.io": "^4.7.2",
"socket.io-msgpack-parser": "^3.0.2",
"ssh2": "^1.7.0",
"tencentcloud-sdk-nodejs": "^4.0.616",
"trash": "^8.1.1"
},
"devDependencies": {
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
"@swc-node/register": "^1.6.7",
"@types/amqplib": "^0.10.1",
"@types/crypto-js": "^4.1.0",
"@types/fs-extra": "^9.0.13",
"@types/jsonwebtoken": "^8.5.6",
"@types/koa": "^2.13.4",
"@types/koa-bodyparser": "^4.3.4",
"@types/koa-csrf": "^3.0.2",
"@types/koa-generic-session": "^2.2.1",
"@types/koa-router": "^7.4.4",
"@types/koa-static": "^4.0.2",
"@types/node": "^16.11.9",
"@types/node-schedule": "^1.3.2",
"@types/redis": "^4.0.11",
"@types/ssh2": "^0.5.51",
"@types/validator": "^13.7.0",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.0",
"lint-staged": "^12.1.6",
"nodemon": "^2.0.15",
"prettier": "^2.6.0",
"standard-version": "^9.3.2",
"ts-node": "^10.4.0",
"typescript": "^4.8.2"
}
}