/
package.json
59 lines (59 loc) · 1.72 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
{
"name": "wasm-electron",
"version": "1.0.0",
"description": "Electron app build using ReactJS and Parcel web application bundler",
"main": "src/electron.js",
"scripts": {
"react-start": "parcel -p 3000 ./static/index.html --out-dir build",
"react-build": "parcel build ./static/index.html --out-dir build --public-url ./",
"electron-build": "electron-builder -mwl",
"clean-build": "rm -rf build/ .cache dist/",
"build": "yarn clean-build && yarn react-build && yarn electron-build",
"start": "concurrently \"cross-env BROWSER=none yarn react-start\" \"wait-on http://localhost:3000 && electron . \""
},
"dependencies": {
"electron-download": "^4.1.1",
"electron-is-dev": "1.0.1",
"react": "16.7.0",
"react-dom": "16.7.0",
"semantic-ui-css": "2.4.1"
},
"build": {
"appId": "com.boskysoft",
"files": [
"src/electron.js",
"src/assets/*",
"build/**/*"
],
"mac": {
"target": "dmg",
"icon": "src/assets/logo.png"
},
"win": {
"target": "nsis",
"icon": "src/assets/logo.png"
},
"linux": {
"target": "deb",
"icon": "src/assets/logo.png",
"category": "Development"
}
},
"homepage": "./",
"devDependencies": {
"babel-core": "6.26.3",
"babel-plugin-transform-class-properties": "latest",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-react-jsx": "6.24.1",
"babel-preset-env": "1.7.0",
"babel-preset-react": "6.24.1",
"bundlesize": "^0.18.0",
"concurrently": "^5.0.2",
"cross-env": "5.2.0",
"electron": "9.4.0",
"electron-builder": "20.38.4",
"kind-of": "^6.0.3",
"parcel-bundler": "1.12.3",
"wait-on": "3.2.0"
}
}