forked from openimsdk/openim-electron-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage_electron.json
48 lines (48 loc) · 1.71 KB
/
package_electron.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
{
"name": "OpenCorp-Base",
"version": "3.8.2",
"main": "dist-electron/main/index.js",
"description": "OpenIM PC Client.",
"author": "blooming",
"private": true,
"debug": {
"env": {
"VITE_DEV_SERVER_URL": "http://127.0.0.1:7777/"
}
},
"scripts": {
"dev": "vite --host",
"build": "vite build",
"preview": "vite preview",
"build:mac": "vite build && electron-builder --macos --x64",
"build:mac-arm": "vite build && electron-builder --macos --arm64",
"build:win": "vite build && electron-builder --win --x64",
"build:win-arm": "vite build && electron-builder --win --arm64",
"build:linux": "vite build && electron-builder --linux --x64",
"build:linux-arm": "vite build && electron-builder --linux --arm64",
"build:all": "vite build && electron-builder --macos --x64 && electron-builder --macos --arm64 && electron-builder --win --x64 && electron-builder --linux --x64 && electron-builder --linux --arm64",
"pree2e": "vite build --mode=test",
"e2e": "playwright test",
"format": "prettier --write .",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx --fix --quiet src",
"prepare": "husky install"
},
"engines": {
"node": "^14.18.0 || >=16.0.0"
},
"lint-staged": {
"src/**/*.{tsx,ts}": ["prettier --write", "eslint --fix"],
"*.{json,html,css,scss,xml,md}": ["prettier --write"]
},
"dependencies": {
"@openim/electron-client-sdk": "^1.0.7",
"@openim/wasm-client-sdk": "^3.8.0",
"electron-log": "^5.0.0",
"electron-screenshots": "^0.5.23",
"electron-store": "^8.1.0",
"adm-zip": "^0.5.10",
"i18next": "^22.5.0",
"sudo-prompt": "^9.2.1"
}
}