-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.09 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
{
"name": "electron-with-react-boilerplate",
"description": "a electron app boilerplate which use React.js and Ant Design",
"author": "Hoxz",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-scripts": "1.1.4"
},
"homepage": "./",
"main": "public/electron.js",
"scripts": {
"start": "nf start -p 4000",
"build": "react-app-rewired build",
"test": "react-app-rewired test --env=jsdom",
"eject": "react-scripts eject",
"electron": "electron .",
"electron-start": "node src/electron-wait-react",
"react-start": "react-app-rewired start",
"pack": "build --dir",
"dist": "npm run build && build",
"postinstall": "install-app-deps"
},
"build": {
"appId": "me.hoxz.electron-with-create-react-app",
"win": {
"target":["nsis"]
},
"directories": {
"buildResources": "public"
}
},
"devDependencies": {
"antd": "^3.5.4",
"babel-plugin-import": "^1.7.0",
"electron": "^2.0.2",
"electron-builder": "^20.15.1",
"react-app-rewired": "^1.5.2"
}
}