-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path[WINDOWS][ELECTRON-BUILDER]package.json
79 lines (79 loc) · 2.17 KB
/
[WINDOWS][ELECTRON-BUILDER]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
{
"name": "password-strength-checker-using-electronjs-cpp",
"url": "https://github.com/ArchismanKarmakar/Password-Strength-Check-ElectronJS-CPP",
"version": "2.3.0",
"description": "Password Strength Measuring or checking application.",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "electron .",
"install-commented": "cmake-js compile electron node-addon-api toastify-js",
"preinstall-commented": "npm config set cmake_js_arch ia32",
"package": "build",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"build": "electron-builder"
},
"author": "Archisman Karmakar",
"license": "MIT",
"dependencies": {
"cmake-js": "^7.3.0",
"compile": "^0.0.2",
"node-addon-api": "^8.0.0",
"toastify-js": "^1.12.0"
},
"devDependencies": {
"cmake-js": "^7.3.0",
"compile": "^0.0.2",
"electron": "^29.1.0",
"electron-builder": "^24.13.3",
"node-addon-api": "^8.0.0",
"toastify-js": "^1.12.0"
},
"build": {
"appId": "com.ArchismanKarmakar.password-strength-checker",
"productName": "Password Strength Checker",
"directories": {
"output": "build",
"buildResources": "assets"
},
"win": {
"icon": "assets/icon/password.png",
"target": [
"nsis",
"portable",
"msi"
]
},
"files": [
"assets/**/*",
"build/**/*",
"backend/**/*",
"index.html",
"node_modules/**/*",
"package.json",
"main.js",
"preload.js",
"renderer.js"
],
"nsis": {
"artifactName": "${productName}-installer-${version}.${ext}",
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"removeDefaultUninstallWelcomePage": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"portable": {
"artifactName": "${productName}-portable-${version}.${ext}"
},
"msi": {
"artifactName": "${productName}-installer-${version}.${ext}",
"createStartMenuShortcut": true,
"oneClick": false,
"perMachine": true,
"createDesktopShortcut": true
}
}
}