-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
176 lines (176 loc) · 5.68 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "electron-react-boilerplate",
"productName": "ElectronReact",
"version": "0.10.0",
"description": "Electron application boilerplate based on React, React Router, Webpack, React Hot Loader for rapid application development",
"main": "main.js",
"scripts": {
"test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 mocha --retries 2 --compilers js:babel-register --recursive --require ./test/setup.js test/**/*.spec.js",
"test-watch": "npm test -- --watch",
"test-e2e": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 mocha --retries 2 --compilers js:babel-register --require ./test/setup.js ./test/e2e.js",
"lint": "eslint --ignore-path .gitignore --format=node_modules/eslint-formatter-pretty app test *.js",
"hot-server": "cross-env NODE_ENV=development node --max_old_space_size=2096 -r babel-register server.js",
"build-main": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --progress --profile --colors",
"build-renderer": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors",
"build": "npm run build-main && npm run build-renderer",
"start": "cross-env NODE_ENV=production electron ./app/",
"start-hot": "cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./app/main.development",
"postinstall": "concurrently \"install-app-deps\" \"node node_modules/fbjs-scripts/node/check-dev-engines.js package.json\"",
"dev": "npm run hot-server -- --start-hot",
"package": "npm run build && build --publish never",
"package-win": "npm run build && build --win --x64",
"package-linux": "npm run build && build --linux",
"package-all": "npm run build && build -mwl",
"cleanup": "mop -v"
},
"build": {
"appId": "org.develar.ElectronReact",
"category": "public.app-category.tools",
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"files": [
"dist/",
"node_modules/",
"app.html",
"main.js",
"main.js.map",
"package.json"
],
"win": {
"target": "nsis"
},
"linux": {
"target": [
"deb",
"AppImage"
]
}
},
"directories": {
"buildResources": "resources",
"output": "release"
},
"bin": {
"electron": "./node_modules/.bin/electron"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chentsulin/electron-react-boilerplate.git"
},
"author": {
"name": "C. T. Lin",
"email": "[email protected]",
"url": "https://github.com/chentsulin"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/chentsulin/electron-react-boilerplate/issues"
},
"keywords": [
"electron",
"boilerplate",
"react",
"react-router",
"flux",
"webpack",
"react-hot"
],
"homepage": "https://github.com/chentsulin/electron-react-boilerplate#readme",
"devDependencies": {
"asar": "^0.12.3",
"babel-core": "^6.18.2",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.8",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-tcomb": "^0.3.24",
"babel-plugin-webpack-loaders": "^0.8.0",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-react-optimize": "^1.0.1",
"babel-preset-stage-0": "^6.16.0",
"babel-register": "^6.18.0",
"boiler-room-custodian": "^0.4.2",
"chai": "^3.5.0",
"concurrently": "^3.1.0",
"cross-env": "^3.1.3",
"css-loader": "^0.26.0",
"devtron": "^1.4.0",
"electron": "^1.4.10",
"electron-builder": "^10.4.3",
"electron-devtools-installer": "^2.0.1",
"enzyme": "^2.6.0",
"eslint": "^3.11.1",
"eslint-config-airbnb": "^13.0.0",
"eslint-formatter-pretty": "^1.1.0",
"eslint-import-resolver-webpack": "^0.7.0",
"eslint-loader": "^1.6.1",
"eslint-plugin-flowtype-errors": "^1.5.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.0.1",
"eslint-plugin-mocha": "^4.7.0",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-react": "^6.7.1",
"express": "^4.14.0",
"extract-text-webpack-plugin": "^1.0.1",
"fbjs-scripts": "^0.7.1",
"file-loader": "^0.9.0",
"html-webpack-plugin": "^2.24.1",
"jsdom": "^9.8.3",
"json-loader": "^0.5.4",
"minimist": "^1.2.0",
"mocha": "^3.2.0",
"react-addons-test-utils": "^15.4.1",
"redux-logger": "^2.7.4",
"sinon": "^1.17.6",
"spectron": "^3.4.0",
"style-loader": "^0.13.1",
"tcomb": "^3.2.15",
"url-loader": "^0.5.7",
"webpack": "^1.13.3",
"webpack-dev-middleware": "^1.8.4",
"webpack-hot-middleware": "^2.13.2",
"webpack-merge": "^1.0.1",
"webpack-validator": "^2.2.9"
},
"dependencies": {
"classnames": "^2.2.5",
"electron-debug": "^1.1.0",
"electron-log": "^2.0.2",
"firebase": "^3.6.4",
"font-awesome": "^4.7.0",
"lodash": "^4.17.4",
"moment": "^2.18.1",
"pixi.js": "^4.5.2",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"react-redux": "^4.4.6",
"react-router": "^3.0.0",
"react-router-redux": "^4.0.7",
"react-transition-group": "^1.1.3",
"redux": "^3.6.0",
"redux-thunk": "^2.1.0",
"roboto-fontface": "^0.7.0",
"source-map-support": "^0.4.6",
"truncate": "^2.0.0"
},
"devEngines": {
"node": ">=6.x",
"npm": ">=3.x"
}
}