-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
96 lines (96 loc) · 3.93 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
{
"name": "qqtools",
"description": "QQ群工具,配合mirai使用。",
"license": "AGPL-3.0",
"scripts": {
"eslint": "cross-env COMMITLINT=1 eslint ./ --fix --cache --cache-location .eslintcache",
"eslint:no-fix": "cross-env COMMITLINT=1 eslint ./ --cache --cache-location .eslintcache",
"lerna:install": "lerna bootstrap --force-local",
"update-version": "milktea-esm update",
"update-version:dev": "milktea-esm update --__DEV__",
"install:plugins": "zx scripts/installPlugins.mjs",
"build": "node scripts/delivery.mjs",
"build:cn": "ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm run build",
"build:ci": "PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm run build",
"build:png": "ffmpeg -i statics/titleBarIcon512.png -vf scale=128:128 app/titleBarIcon.png",
"build:icon": "ffmpeg -i statics/titleBarIcon512.png -vf scale=256:256 statics/titleBarIcon.ico",
"build:icns": "milktea-esm image2icns --imageEntry=\"statics/titleBarIcon512.png\" --imageOutput=\"./statics/titleBarIcon.icns\" --size=512",
"build:linuxPng": "ffmpeg -i statics/titleBarIcon512.png -vf scale=128:128 statics/titleBarIcon_linux.png",
"install:cn": "ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 yarn install",
"install:cn:win": "set ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ && set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 && yarn install",
"install:ci": "PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 yarn install",
"install:ci:win": "set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 && yarn install",
"check-token": "node scripts/checkToken.mjs",
"set-version": "node scripts/setVersion.mjs",
"cz1": "NODE_OPTIONS=\"--max-old-space-size=409600\" git cz",
"postinstall": "husky install && npm run install:plugins && node scripts/postInstall.mjs"
},
"private": true,
"workspaces": [
"packages/*"
],
"packageManager": "yarn@4.5.3",
"dependencies": {
"@vercel/ncc": "^0.38.1",
"cross-zip": "^4.0.0",
"electron": "30.0.7",
"electron-builder": "^24.10.0",
"fs-extra": "^11.2.0",
"glob": "^10.3.10",
"lerna": "^8.0.1",
"node-nim": "^9.16.5",
"rimraf": "^5.0.5",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"zx": "^7.2.3"
},
"devDependencies": {
"@babel/eslint-parser": "^7.23.3",
"@sweet-milktea/milktea-cli": "^4.1.0",
"@sweet-milktea/util-tools": "^4.1.0",
"@types/chrome-remote-interface": "^0",
"@types/fs-extra": "^11",
"@types/js-yaml": "^4",
"@types/lodash-es": "^4",
"@types/node": "^20",
"@types/node-schedule": "^2",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/ws": "^8",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"commitizen": "^4.3.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.7.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.35.0",
"globals": "^15.8.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0"
},
"optionalDependencies": {
"@qqtools/esm-build": "workspace:*",
"@qqtools3/main": "workspace:*",
"@qqtools3/qqtools": "workspace:*"
},
"resolutions": {
"@types/react": "^19",
"@types/react-dom": "^19",
"express/cookie": "^0.7.0",
"express/path-to-regexp": "^0.1.10",
"rc-resize-observer": "1.4.0"
},
"lint-staged": {
"**/*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}": "cross-env COMMITLINT=1 eslint --cache --cache-location .eslintcache --no-warn-ignored",
"packages/NIMTest/node/createRoomId.js": "npm run check-token",
"packages/NIMTest/http/login.http": "npm run check-token"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}