generated from reZach/secure-electron-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 4.29 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "secure-electron-template",
"version": "14.0.0",
"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",
"audit-app": "npx electronegativity -i ./ -x LimitNavigationGlobalCheck,PermissionRequestHandlerGlobalCheck",
"translate": "node ./app/localization/translateMissing.js",
"dev-server": "cross-env NODE_ENV=development webpack serve --config ./webpack.development.js > dev-scripts/webpack-dev-server.log 2> dev-scripts/webpack-dev-server-error.log",
"dev": "concurrently --success first \"node dev-scripts/prepareDevServer.js\" \"node dev-scripts/launchDevServer.js\" -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 test && npm run prod-build && electron-builder",
"dist-mac": "npm run test && npm run prod-build && electron-builder --mac",
"dist-linux": "npm run test && npm run prod-build && electron-builder --linux",
"dist-windows": "npm run prod-build && electron-builder --windows",
"dist-all": "npm run test && npm run prod-build && electron-builder --mac --linux --windows",
"test": "mocha"
},
"build": {
"productName": "YourProductName",
"appId": "com.yourcompany|electron.yourproductname",
"directories": {
"buildResources": "resources"
},
"files": [
"app/dist/**/*",
"app/electron/**/*",
"app/localization/!(locales)",
"LICENSE"
],
"extraFiles": [
"app/localization/locales/**/*",
"license.data",
"public.key"
],
"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",
"secure",
"template",
"javascript",
"react",
"redux",
"webpack",
"i18n",
"boilerplate"
],
"author": "reZach",
"license": "MIT",
"bugs": {
"url": "https://github.com/reZach/secure-electron-template/issues"
},
"homepage": "https://github.com/reZach/secure-electron-template#readme",
"browserslist": [
"last 2 Chrome versions"
],
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/preset-env": "^7.15.6",
"@babel/preset-react": "^7.14.5",
"@doyensec/electronegativity": "^1.9.1",
"@google-cloud/translate": "^6.2.7",
"babel-loader": "^8.2.2",
"babel-plugin-module-resolver": "^4.1.0",
"buffer": "^6.0.3",
"clean-webpack-plugin": "^4.0.0",
"concurrently": "^6.2.1",
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.0",
"csp-html-webpack-plugin": "^5.1.0",
"css-loader": "^6.2.0",
"css-minimizer-webpack-plugin": "^3.0.2",
"electron": "^13.3.0",
"electron-builder": "^22.11.7",
"electron-debug": "^3.2.0",
"html-loader": "^2.1.2",
"html-webpack-plugin": "^5.3.2",
"mini-css-extract-plugin": "^2.2.2",
"mocha": "^9.1.1",
"path-browserify": "^1.0.1",
"spectron": "^15.0.0",
"stream-browserify": "^3.0.0",
"webpack": "^5.52.0",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.2.0",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@loadable/component": "^5.15.0",
"@reduxjs/toolkit": "^1.6.1",
"bulma": "^0.9.3",
"connected-react-router": "^6.9.1",
"easy-redux-undo": "^1.0.5",
"electron-devtools-installer": "^3.2.0",
"i18next": "^20.6.1",
"i18next-electron-fs-backend": "^2.0.0",
"i18next-fs-backend": "^1.1.1",
"lodash": "4.17.21",
"lodash.merge": "^4.6.2",
"process": "^0.11.10",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.12.0",
"react-redux": "^7.2.5",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
"redux": "^4.1.1",
"secure-electron-context-menu": "^1.3.3",
"secure-electron-license-keys": "^1.1.2",
"secure-electron-store": "^3.0.3"
}
}