-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.84 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 1.84 KB
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
67
68
69
70
71
72
73
74
75
76
77
{
"name": "electron-webpack",
"version": "1.0.0",
"description": "Simple electron boilerplate with webpack, react and react hot loader",
"author": "Lafif Astahdziq <hello@lafif.me> (https://lafif.me/)",
"main": "app/main.js",
"scripts": {
"start": "electron .",
"dev": "rimraf app/* && webpack-dev-server --hot --env development",
"prod": "rimraf app/* && webpack --env production && npm run start",
"dist": "rimraf dist/* && webpack --env production && electron-builder"
},
"build": {
"appId": "com.defteams.electron-webpack",
"directories": {
"buildResources": "resources"
},
"files": [
"app/**/*",
"node_modules/**/*",
"package.json"
],
"publish": null,
"dmg": {
"contents": [
{
"x": 100,
"y": 200
},
{
"x": 400,
"y": 200,
"type": "link",
"path": "/Applications"
}
],
"window": {
"width": 500,
"height": 400
}
},
"linux": {
"target": [
"AppImage",
"deb"
]
},
"win": {
"target": "NSIS"
}
},
"license": "ISC",
"dependencies": {
"@hot-loader/react-dom": "^16.11.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-hot-loader": "^4.12.18"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"babel-loader": "^8.0.6",
"css-loader": "^3.4.2",
"electron": "^7.1.8",
"electron-builder": "^21.2.0",
"electron-devtools-installer": "^2.2.4",
"html-webpack-plugin": "^3.2.0",
"node-sass": "^4.13.0",
"sass-loader": "^8.0.1",
"style-loader": "^1.1.2",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1",
"webpack-merge": "^4.2.2"
}
}