-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
119 lines (119 loc) · 3.05 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "webpack-electron",
"version": "0.0.0",
"description": "",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "webpack --config config/dev.js",
"watch": "webpack --watch --config config/dev.js",
"pro": "webpack --config config/pro.js",
"start": "electron .",
"builder:mac": "electron-builder --platform darwin --arch x64",
"builder": "electron-builder",
"package": "electron-packager . 'Hosts' --platform=darwin --arch=x64 --out=./server/out --asar --app-version=2.0.1 --ignore=\"(webpack.config*|node_modules)\"",
"prettier": "prettier --write ./src/**/**/*"
},
"author": "",
"license": "ISC",
"build": {
"productName": "webpack-electron",
"copyright": "xxxx",
"appId": "com.example.app",
"directories": {
"output": "build"
},
"files": [
"dist/**/*",
"main.js"
],
"publish": [
{
"provider": "generic",
"url": "http://127.0.0.1:5000/"
}
],
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "electron",
"include": "build/script/installer.nsh"
},
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"mac": {
"icon": "build/icons/icon.icns"
},
"win": {
"icon": "build/icons/aims.ico",
"target": [
{
"target": "nsis",
"arch": [
"ia32"
]
}
]
},
"linux": {
"icon": "build/icons"
}
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-loader": "^7.1.5",
"babel-plugin-import": "^1.11.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"css-loader": "^1.0.0",
"electron": "^3.1.8",
"electron-builder": "^20.39.0",
"electron-packager": "^13.1.1",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-compat": "^3.1.1",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"file-loader": "^2.0.0",
"html-webpack-plugin": "^3.2.0",
"less": "^3.8.1",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.4.2",
"prettier": "^1.16.4",
"style-loader": "^0.22.1",
"uglifyjs-webpack-plugin": "^1.3.0",
"url-loader": "^1.1.1",
"webpack": "^4.17.0",
"webpack-cli": "^3.1.0"
},
"dependencies": {
"antd": "^3.16.2",
"electron-updater": "^4.0.6",
"express": "^4.16.4",
"react": "^16.4.2",
"react-dom": "^16.4.2"
}
}