forked from acao/webpack-web-and-electron-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
36 lines (36 loc) · 1.18 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
{
"name": "electron-webpack-multi-target-example",
"version": "0.0.1",
"description": "A simple example using webpack and to build an application to both electron and web targets",
"main": "main.js",
"scripts": {
"webpack-dev-server": "PORT=8081 NODE_ENV=development webpack-dev-server",
"web": "APP_TARGET=WEB webpack",
"web:dev": "NODE_ENV=development APP_TARGET=WEB webpack-dev-server",
"electron": "webpack && electron .",
"electron:dev": "NODE_ENV=development npm-run-all --parallel webpack-dev-server \"electron\"",
"all:dev": "npm-run-all --parallel electron:dev web:dev"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.5",
"eslint": "^5.12.0",
"eslint-config-airbnb": "^17.1.0",
"html-webpack-plugin": "^3.2.0",
"npm-run-all": "^4.1.5",
"prettier": "1.15.3",
"webpack": "^4.28.4",
"webpack-cli": "^3.2.1",
"webpack-dev-server": "^3.1.14"
},
"dependencies": {
"@babel/polyfill": "^7.2.5",
"electron": "^4.0.1",
"is-electron-renderer": "^2.0.0"
}
}