-
Notifications
You must be signed in to change notification settings - Fork 141
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 7.07 KB
/
Copy pathpackage.json
File metadata and controls
152 lines (152 loc) · 7.07 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
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "@octo/web",
"version": "1.0.12",
"private": true,
"main": "out-election/main/index.js",
"homepage": ".",
"scripts": {
"start": "vite",
"dev": "vite",
"dev-ele": "concurrently -k -n=web,ele -c=green,blue \"vite\" \"wait-on tcp:3000 && npm-run-all watch\"",
"watch": "tsc-watch -p tsconfig.e.json --onSuccess \"npm-run-all compile:electron-preload start:electron\"",
"start:electron": "cross-env NODE_ENV=development electron .",
"build": "vite build",
"build:electron": "cross-env VITE_ELECTRON_BUILD=true vite build",
"build:analyzer": "cross-env ANALYZER=true vite build",
"build:e2e": "VITE_E2E_MOCK=1 VITE_E2E_MOCK_IM=1 VITE_API_URL=http://mock.e2e.local vite build --outDir build-e2e",
"preview:e2e": "vite preview --outDir build-e2e --port ${PW_PREVIEW_PORT:-5173} --strictPort",
"build-ele:mac": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:mac verify:electron-runtime-deps",
"build-ele:mac-x64": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:mac-x64 verify:electron-runtime-deps",
"build-ele:mac-arm64": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:mac-arm64 verify:electron-runtime-deps",
"build-ele:mac-both": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:mac-both verify:electron-runtime-deps",
"build-ele:mac-universal": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:mac-universal verify:electron-runtime-deps",
"build-ele:mac-universal-fallback": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:mac-universal-fallback verify:electron-runtime-deps",
"build-ele:mac-universal-simple": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:mac-universal-simple verify:electron-runtime-deps",
"build-ele:win": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:win verify:electron-runtime-deps",
"build-ele:linux": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:linux verify:electron-runtime-deps",
"build-ele:linux-arm64": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:linux-arm64 verify:electron-runtime-deps",
"build-ele": "npm-run-all clean:dist-ele build:electron compile:electron electron:build:all verify:electron-runtime-deps",
"clean:dist-ele": "node -e \"require('fs').rmSync('dist-ele',{recursive:true,force:true})\"",
"compile:electron": "tsc -p tsconfig.e.json && node scripts/compile-electron-preload.mjs",
"compile:electron-preload": "node scripts/compile-electron-preload.mjs",
"verify:electron-runtime-deps": "node scripts/verify-electron-runtime-deps.mjs",
"electron:build:mac": "electron-builder --mac -c",
"electron:build:mac-x64": "electron-builder --mac --x64 -c electron-builder-x64.js",
"electron:build:mac-arm64": "electron-builder --mac --arm64 -c electron-builder-arm64.js",
"electron:build:mac-both": "electron-builder --mac --x64 --arm64 -c",
"electron:build:mac-universal": "electron-builder --mac --x64 --arm64 -c electron-builder-universal.js",
"electron:build:win": "electron-builder --win -c",
"electron:build:linux": "electron-builder --linux --x64 -c",
"electron:build:linux-arm64": "electron-builder --linux --arm64 -c",
"electron:build:all": "electron-builder -mw -c",
"test": "vitest run",
"test:e2e": "PLAYWRIGHT_BROWSERS_PATH=0 playwright test --config=e2e-kit/playwright.config.ts",
"test:e2e:loop-bridge": "../../node_modules/.bin/playwright test --config=e2e-kit/playwright.bridge.config.ts",
"test:e2e:bind": "PLAYWRIGHT_BROWSERS_PATH=0 playwright test --config=e2e-kit/playwright.config.ts e2e-kit/tests/bind/bind.spec.ts",
"test:e2e:bind:install": "PLAYWRIGHT_BROWSERS_PATH=0 playwright install chromium",
"test:arch-builds": "./scripts/test-arch-builds.sh",
"debug:build-structure": "./scripts/debug-build-structure.sh",
"test:arch-specific": "./scripts/test-arch-specific-builds.sh",
"verify:dmg": "./scripts/verify-dmg-architecture.sh",
"test:universal": "./scripts/test-universal-build.sh",
"eject": "react-app-rewired eject",
"clean": "rimraf node_modules dist-ele build dist-ele .turbo",
"tauri": "tauri",
"storybook": "storybook dev -p 16006",
"build-storybook": "storybook build",
"test:storybook": "vitest run --config vitest.storybook.config.ts"
},
"dependencies": {
"electron-log": "^5.1.2",
"electron-screenshots": "^0.5.26",
"electron-updater": "^6.1.8",
"ms": "^2.1.3",
"tmp": "^0.2.2",
"wukongimjssdk": "^1.3.5"
},
"devDependencies": {
"@dmwork/appbot": "workspace:*",
"@dmwork/mcp": "workspace:*",
"@dmwork/skillmarket": "workspace:*",
"@dmwork/summary": "workspace:*",
"@douyinfe/semi-icons": "^2.93.0",
"@douyinfe/semi-ui": "^2.93.0",
"@hocuspocus/provider": "2.15.2",
"@octo/base": "workspace:*",
"@octo/contacts": "workspace:*",
"@octo/datasource": "workspace:*",
"@octo/login": "workspace:*",
"@octo/mail": "workspace:*",
"@react-pdf-viewer/core": "^3.12.0",
"@react-pdf-viewer/page-navigation": "^3.12.0",
"@react-pdf-viewer/thumbnail": "^3.12.0",
"@react-pdf-viewer/zoom": "^3.12.0",
"@storybook/addon-a11y": "^10.3.3",
"@storybook/addon-docs": "^10.3.3",
"@storybook/addon-mcp": "^0.4.2",
"@storybook/addon-onboarding": "^10.3.3",
"@storybook/addon-vitest": "^10.3.3",
"@storybook/react-vite": "^10.3.3",
"@tauri-apps/api": "^1.5.0",
"@tauri-apps/cli": "^1.5.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^20.10.5",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"@types/react-syntax-highlighter": "^15.5.13",
"@vitejs/plugin-react": "^6.0.1",
"axios": "^1.19.0",
"classnames": "^2.3.1",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "26.0.0",
"electron-builder": "26.8.1",
"esbuild": "0.27.7",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-storybook": "^10.3.3",
"lucide-react": "^0.577.0",
"msw": "^2.15.0",
"npm-run-all": "^4.1.5",
"ogl": "^1.0.11",
"postcss-import": "^16.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-syntax-highlighter": "^15.6.1",
"storybook": "^10.3.3",
"tsc-watch": "^6.0.4",
"typescript": "^5.3.3",
"vite": "^8.0.3",
"vite-plugin-commonjs": "^0.10.4",
"vite-tsconfig-paths": "^6.1.1",
"wait-on": "^8.0.3",
"web-vitals": "^2.1.4",
"yjs": "13.6.21"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"msw": {
"workerDirectory": [
"public"
]
},
"author": {
"name": "Mininglamp Technology",
"email": "dev@mlamp.cn"
},
"description": "OCTO - Enterprise Instant Messaging"
}