-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.59 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.59 KB
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
{
"name": "create-reactron",
"version": "1.0.0",
"author": "Jin-Seung",
"description": "react & electron boilerplate",
"main": "main.js",
"license": "MIT",
"scripts": {
"clean": "rm -rf ./dist",
"dev": "cross-env NODE_ENV=development webpack-dev-server --inline --config ./webpack.dev.config",
"debug": "webpack && electron -r babel-register -r babel-polyfill . --debug",
"start": "webpack && electron -r babel-register -r babel-polyfill .",
"build:osx": "webpack && build --mac",
"build:win": "npm run build:win32 && npm run build:win64",
"build:win32": "webpack && build --win --ia32",
"build:win64": "webpack && build --win --x64"
},
"build": {
"productName": "Reactron",
"appId": "com.js.reactron",
"files": [
"main.js",
"src/**/*",
"node_modules/**/*",
"package.json"
],
"mac": {
"target": [
"default"
]
},
"dmg": {
"title": "Reactron"
},
"win": {
"target": [
"nsis"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"extends": null
},
"dependencies": {
"global": "^4.3.2",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-scripts": "1.1.4"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.26.0",
"cross-env": "^5.2.0",
"electron": "^2.0.5",
"electron-builder": "^20.27.1",
"webpack-cli": "^3.1.0"
}
}