-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
71 lines (71 loc) · 1.82 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
{
"name": "electron-webpack-native-module-example",
"version": "1.0.0",
"main": "main.js",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"clean": "del-cli dist",
"compile:main": "webpack --env main --color",
"compile:preload": "webpack --env preload --color",
"compile:renderer": "webpack --color",
"compile": "yarn clean && npm-run-all -p compile:*",
"dev": "cross-env NODE_ENV=development electron dist/main",
"start": "yarn compile && yarn dev",
"build": "yarn compile && cross-env NODE_ENV=production electron-builder build"
},
"repository": "https://github.com/raviSussol/electron-webpack-native-module-example.git",
"author": "Ravi Shrestha <[email protected]>",
"license": "MIT",
"devDependencies": {
"copy-webpack-plugin": "^8.1.1",
"cross-env": "^7.0.3",
"del-cli": "^3.0.1",
"electron": "^12.0.7",
"electron-builder": "^22.11.3",
"html-webpack-plugin": "^5.3.1",
"npm-run-all": "^4.1.5",
"webpack": "^5.37.0",
"webpack-cli": "^4.7.0"
},
"dependencies": {
"electron-node-ffi": "^4.0.5",
"electron-node-ref": "^3.0.4"
},
"build": {
"productName": "EWNM",
"appId": "com.wenm.app",
"extraMetadata": {
"main": "dist/main"
},
"files": [
"dist/**/*",
"package.json"
],
"directories": {
"output": "release"
},
"copyright": "Copyright © 2021",
"mac": {
"category": "private.app-category.productivity",
"target": "dmg"
},
"dmg": {
"contents": [
{
"x": 152,
"y": 201
},
{
"x": 445,
"y": 201,
"type": "link",
"path": "/Applications"
}
],
"iconSize": 110,
"iconTextSize": 13
},
"compression": "normal",
"asar": true
}
}