-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 2.04 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
{
"name": "electron-tray-demo",
"version": "0.0.1",
"main": "dist/electron/index.js",
"repository": "https://github.com/zardoy/electron-tray-demo.git",
"author": "Vitaly Turovsky <vital2580@icloud.com>",
"license": "MIT",
"private": true,
"homepage": "./",
"build": {
"appId": "com.zardoy.electron-tray-demo",
"win": {
"target": "nsis"
},
"files": [
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "assets"
}
},
"dependencies": {
"@fontsource/roboto": "^4.1.0",
"@material-ui/core": "^4.11.2",
"@material-ui/icons": "^4.11.2",
"craco-electron": "^1.0.0",
"electron-is-dev": "^1.2.0",
"electron-window-state": "^5.0.3",
"pkg-dir": "^5.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"typed-ipc": "https://github.com/zardoy/typed-ipc#build",
"typescript": "^4.1.3"
},
"devDependencies": {
"@types/node": "^14.14.16",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"electron": "^11.1.1",
"electron-builder": "^22.9.1",
"source-map-explorer": "^2.5.1",
"tsc-watch": "^4.2.9"
},
"scripts": {
"start-main": "tsc-watch -p \"./src/electron/tsconfig.json\" --onSuccess \"electron .\"",
"start-renderer": "craco-electron start",
"build": "npm run build-renderer && npm run build-main",
"build-main": "electron-builder -w",
"build-renderer": "craco-electron build",
"analyze-renderer": "source-map-explorer 'build/static/js/*.js'",
"run-local-test": "cd local-tests && ts-node --transpile-only index.ts",
"postinstall": "electron-builder install-app-deps"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"development": [
"last 1 chrome version"
],
"production": [
"last 1 chrome version"
]
}
}