forked from Rain120/qq-music-api
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 3.53 KB
/
package.json
File metadata and controls
140 lines (140 loc) · 3.53 KB
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "@sansenjian/qq-music-api",
"version": "2.3.2",
"packageManager": "npm@11.14.1",
"publishConfig": {
"access": "public"
},
"description": "QQ Music API - QQ 音乐 API koa2 实现",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"bin": {
"qq-music-api": "dist/app.js"
},
"files": [
"dist/app.js",
"dist/app.cjs",
"dist/index.js",
"dist/index.cjs",
"dist/app.d.ts",
"dist/index.d.ts",
"dist/config",
"dist/koaApp.d.ts",
"dist/middlewares",
"dist/module",
"dist/package.json",
"dist/routers",
"dist/util",
"dist/types",
"docs-dist",
"public",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"lint-staged": {
"*.ts": [
"oxlint --fix",
"prettier --write"
],
"*.{js,cjs,mjs}": [
"prettier --write"
]
},
"scripts": {
"dev": "tsx app.ts",
"build": "vite build && tsc --emitDeclarationOnly",
"start": "node dist/app.js",
"vercel-build": "npm run build && npm run docs:build && (cp -r public dist/ 2>/dev/null || true)",
"docs:build": "node scripts/generate-version.js && vitepress build docs",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:verbose": "vitest run --reporter=verbose",
"test:unit": "vitest run tests/unit",
"test:flags": "tsx scripts/run-tests-with-flags.ts all",
"test:flags:unit": "tsx scripts/run-tests-with-flags.ts unit",
"docs:dev": "vitepress dev docs --port 9611",
"docs:preview": "vitepress preview docs",
"commit-push": "./scripts/commit-push.sh",
"changelog": "node scripts/generate-changelog.js",
"version": "npm run changelog && git add CHANGELOG.md",
"release": "npm version patch",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"format": "prettier --write --tab-width=2 module/**/** routers/**/** util/**/**",
"build:local-images": "node ./scripts/build-images.js local",
"build:remote-images": "node ./scripts/build-images.js remote",
"build:images": "npm run build:local-images && npm run build:remote-images",
"run:images": "docker run -d --name qq-music-api -p 3200:3200 qq-music-api "
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/sansenjian/qq-music-api.git"
},
"keywords": [
"QQ 音乐",
"音乐",
"QQ 音乐 koa2",
"qq-music-api"
],
"author": "sansenjian",
"license": "MIT",
"bugs": {
"url": "https://github.com/sansenjian/qq-music-api/issues"
},
"homepage": "https://github.com/sansenjian/qq-music-api#readme",
"dependencies": {
"@koa/router": "^15.5.0",
"axios": "^1.16.0",
"koa": "^2.16.4"
},
"devDependencies": {
"@commitlint/cli": "^20.5.3",
"@commitlint/config-conventional": "^20.5.3",
"@types/koa": "^3.0.1",
"@types/koa__router": "^12.0.5",
"@types/node": "^25.3.3",
"@types/supertest": "^7.2.0",
"@vitest/coverage-v8": "^4.1.6",
"husky": "^9.0.0",
"lint-staged": "^16.4.0",
"nodemon": "^3.1.14",
"oxc-transform": "^0.132.0",
"oxlint": "^1.65.0",
"prettier": "^3.8.1",
"sinon": "^21.0.1",
"supertest": "^7.2.2",
"tsx": "^4.21.0",
"typescript": "5.7.3",
"vite": "^8.0.13",
"vitepress": "^2.0.0-alpha.17",
"vitest": "^4.1.6",
"vue": "^3.5.29"
},
"overrides": {
"anymatch": {
"picomatch": "^2.3.2"
},
"brace-expansion": "^5.0.6",
"fast-uri": "^3.1.2",
"lodash": "^4.18.1",
"readdirp": {
"picomatch": "^2.3.2"
},
"yaml": "^2.9.0"
},
"engines": {
"node": "^20.17.0 || >=22.9.0",
"npm": "^11.0.0"
}
}