-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.38 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
{
"name": "livekun-server",
"version": "1.0.0-alpha.5",
"description": "",
"main": "dist/index.js",
"type": "module",
"scripts": {
"lint": "eslint --cache --ext .ts ./src",
"lint:fix": "eslint --fix --cache --ext .ts ./src",
"format": "prettier --write --cache .",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ./dist/index.js",
"dev": "node --no-warnings --experimental-loader=ts-node/esm --watch-path=./src --watch-path=./config ./src/index.ts",
"build:dev": "rollup -c --configPlugin typescript --environment BUILD:development",
"build": "rollup -c --configPlugin typescript --environment BUILD:production",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"postinstall": "simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js?(x),json}": [
"prettier --write"
],
"*.ts?(x)": [
"eslint",
"prettier --parser=typescript --write"
]
},
"author": "hhui64",
"license": "MIT",
"dependencies": {
"@fastify/cookie": "^9.3.1",
"@fastify/cors": "^9.0.0",
"@fastify/middie": "^8.3.0",
"@fastify/session": "^10.7.0",
"@fastify/websocket": "8.3.0",
"@hhui64/cclinkjs": "file:../cclinkjs",
"axios": "^1.6.7",
"config": "^3.3.10",
"connect-redis": "^7.1.1",
"consola": "^3.2.3",
"fastify": "^4.25.2",
"ioredis": "^5.3.2",
"pako": "^2.1.0",
"redis": "^4.6.12",
"uuid": "^9.0.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@swc/core": "^1.3.107",
"@swc/helpers": "^0.5.3",
"@types/config": "^3.3.3",
"@types/connect": "^3.4.38",
"@types/node": "^20.11.10",
"@types/pako": "^2.0.3",
"@types/uuid": "^9.0.8",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"rollup": "^4.9.6",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"simple-git-hooks": "^2.9.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
}
}