-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtemp.js
49 lines (46 loc) · 1.73 KB
/
temp.js
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
const dep = {
"@koishijs/plugin-actions": "^0.0.2",
"@koishijs/plugin-adapter-discord": "^4.3.1",
"@koishijs/plugin-adapter-kook": "^4.5.1",
"@koishijs/plugin-adapter-qq": "^4.6.2",
"@koishijs/plugin-adapter-satori": "^1.1.2",
"@koishijs/plugin-adapter-telegram": "^4.4.1",
"@koishijs/plugin-admin": "^2.0.0-beta.4",
"@koishijs/plugin-analytics": "^2.0.6",
"@koishijs/plugin-auth": "^4.1.6",
"@koishijs/plugin-bind": "^1.5.1",
"@koishijs/plugin-commands": "^3.5.3",
"@koishijs/plugin-config": "^2.8.5",
"@koishijs/plugin-console": "^5.28.4",
"@koishijs/plugin-database-sqlite": "^4.2.0",
"@koishijs/plugin-explorer": "^1.5.1",
"@koishijs/plugin-help": "^2.4.3",
"@koishijs/plugin-insight": "^3.5.1",
"@koishijs/plugin-inspect": "^1.1.5",
"@koishijs/plugin-locales": "^2.5.3",
"@koishijs/plugin-logger": "^2.6.7",
"@koishijs/plugin-market": "^2.11.2",
"@koishijs/plugin-notifier": "^1.2.0",
"@koishijs/plugin-oobe": "^0.0.2",
"@koishijs/plugin-proxy-agent": "^0.3.0",
"@koishijs/plugin-sandbox": "^3.2.5",
"@koishijs/plugin-server": "^3.2.1",
"@koishijs/plugin-server-satori": "^2.4.3",
"@koishijs/plugin-server-temp": "^1.4.0",
"@koishijs/plugin-status": "^7.4.10",
"koishi": "^4.17.5",
"koishi-plugin-android": "^0.0.1",
"koishi-plugin-assets-local": "^3.3.0",
"koishi-plugin-dataview": "^2.6.1",
"koishi-plugin-desktop": "^1.0.0",
"koishi-plugin-puppeteer": "^3.8.4",
"koishi-plugin-rate-limit": "^2.0.4",
"koishi-plugin-telemetry": "^0.0.2",
"koishi-plugin-theme-vanilla": "^1.0.6"
}
const pkg = require('./package.json')
const fs = require('fs')
for (const [k, v] of Object.entries(dep)) {
pkg.dependencies[k] = v.slice(1)
}
fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 2))