forked from openimsdk/openim-electron-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package_electron.json
43 lines (43 loc) · 1.4 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
{
"name": "OpenIM-Demo",
"version": "3.5.1",
"main": "dist-electron/main/index.js",
"description": "OpenIM Electron Demo.",
"author": "blooming",
"private": true,
"debug": {
"env": {
"VITE_DEV_SERVER_URL": "http://127.0.0.1:7777/"
}
},
"scripts": {
"dev": "vite --host",
"build": "tsc && vite build && electron-builder",
"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",
"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.2",
"electron-store": "^8.1.0",
"i18next": "^22.5.0",
"i18next-fs-backend": "^2.2.0"
}
}