forked from renato-rg/electron-react-webpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.43 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
{
"name": "electron-react-webpack",
"version": "1.0.0",
"description": "Electron + React 16 + Webpack 4 template.",
"main": "electron/main_process.js",
"scripts": {
"bundle": "webpack --config webpack/webpack.config.prod.js",
"bundle:dev": "webpack-dev-server --inline --progress --colors --config webpack/webpack.config.dev.js",
"serve": "electron .",
"start": "cross-env ELECTRON_ENV=production npm-run-all --parallel bundle serve",
"start:dev": "cross-env ELECTRON_ENV=development npm-run-all --parallel bundle:dev serve",
"release": "cross-env ELECTRON_ENV=production electron-packager . --overwrite --platform=darwin --arch=x64 --prune=true --out=release-builds"
},
"license": "WTFPL",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
"babel-preset-react": "^6.24.1",
"copy-webpack-plugin": "^5.0.2",
"cross-env": "^5.2.0",
"css-loader": "^0.28.10",
"electron": "^4.1.3",
"electron-packager": "^13.1.1",
"electron-reload": "^1.4.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.10",
"html-webpack-plugin": "^3.2.0",
"npm-run-all": "^4.1.2",
"webpack": "^4.1.1",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.2.1",
"webpack-merge": "^4.2.1",
"write-file-webpack-plugin": "^4.5.0"
},
"dependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hot-loader": "^4.8.2"
}
}