-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.98 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
{
"name": "secure-electron-template",
"version": "4.0.8",
"description": "The best way to build Electron apps with security in mind.",
"private": true,
"main": "app/electron/main.js",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"dev-server": "cross-env NODE_ENV=development webpack-dev-server --config ./webpack.development.js",
"dev": "concurrently --success first \"npm run dev-server\" \"cross-env NODE_ENV=development electron .\" -k",
"prod-build": "cross-env NODE_ENV=production npx webpack --mode=production --config ./webpack.production.js",
"prod": "npm run prod-build && electron .",
"pack": "electron-builder --dir",
"dist": "npm run prod-build && electron-builder",
"dist-mac": "npm run prod-build && electron-builder --mac",
"dist-linux": "npm run prod-build && electron-builder --linux",
"dist-windows": "npm run prod-build && electron-builder --windows",
"dist-all": "npm run prod-build && electron-builder --mac --linux --windows"
},
"build": {
"productName": "YourProductName",
"appId": "com.yourcompany|electron.yourproductname",
"directories": {
"buildResources": "resources"
},
"win": {
"target": [
"nsis",
"msi"
]
},
"linux": {
"target": [
"deb",
"rpm",
"snap",
"AppImage"
]
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/reZach/secure-electron-template.git"
},
"keywords": [
"electron",
"security",
"template",
"react",
"webpack",
"i18next",
"boilerplate"
],
"author": "reZach",
"license": "MIT",
"bugs": {
"url": "https://github.com/reZach/secure-electron-template/issues"
},
"homepage": "https://github.com/reZach/secure-electron-template#readme",
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-transform-react-jsx": "^7.9.4",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"babel-loader": "^8.1.0",
"babel-plugin-module-resolver": "^4.0.0",
"concurrently": "^5.2.0",
"cross-env": "^7.0.2",
"csp-html-webpack-plugin": "^4.0.0",
"css-loader": "^3.5.3",
"electron": "^11.5.0",
"electron-builder": "^22.7.0",
"electron-debug": "^3.0.1",
"electron-devtools-installer": "^2.2.4",
"html-loader": "^1.1.0",
"html-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^0.9.0",
"style-loader": "^1.2.1",
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2"
},
"dependencies": {
"connected-react-router": "^6.8.0",
"i18next": "^19.4.4",
"i18next-electron-fs-backend": "^1.3.2",
"lodash": "4.17.21",
"lodash.merge": "^4.6.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-i18next": "^11.4.0",
"react-router-dom": "^5.1.2",
"secure-electron-context-menu": "^1.2.0",
"secure-electron-store": "1.1.0"
}
}