-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.47 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
{
"name": "electron-umi-demo",
"version": "1.0.0",
"main": "app/main/main.js",
"repository": "https://github.com/codering/electron-umi-demo.git",
"author": "codering",
"license": "MIT",
"scripts": {
"dev": "concurrently -k -p [{name}] -n '🦄 React,⭐️ Electron,🍔 AppLog' -c 'yellow,magenta,cyan' 'npm run dev:renderer' 'npm run dev:main' 'wait-on http://localhost:8000/ && electron app/main/main'",
"dev:main": "cross-env ESLINT=none BROWSER=none COMPRESS=none roadhog build -w",
"dev:renderer": "cross-env APP_ROOT=src/renderer BROWSER=none BABEL_POLYFILL=none umi dev",
"build": "npm run build:main && npm run build:renderer",
"build:main": "cross-env ESLINT=none roadhog build",
"build:renderer": "cross-env APP_ROOT=src/renderer BABEL_POLYFILL=none umi build",
"pack:electron": "cross-env NODE_ENV=production electron-builder"
},
"build": {
"files": [
"./app/**/*"
],
"appId": "com.codering.demo-example-electron",
"asar": false
},
"dependencies": {
"electron-is": "^3.0.0",
"electron-log": "^2.2.17",
"electron-store": "^2.0.0"
},
"devDependencies": {
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"electron": "^3.0.9",
"electron-builder": "^20.36.2",
"electron-debug": "^2.0.0",
"electron-updater": "^4.0.4",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"redbox-react": "^1.6.0",
"roadhog": "^2.4.5",
"umi-plugin-react": "^1.2.3",
"wait-on": "^3.2.0"
}
}