This repository has been archived by the owner on Jan 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
191 lines (191 loc) · 5.67 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
{
"name": "electron-react-typescript-boilerplate",
"productName": "ElectronReactTypescript",
"version": "0.10.0",
"description": "Electron application boilerplate based on TypeScript, React, React Router, Webpack, React Hot Loader for rapid application development",
"main": "main.js",
"scripts": {
"test": "cross-env NODE_ENV=test node --trace-warnings ./test/runTests.js",
"test-all": "npm run test && npm run build && npm run test-e2e",
"test-watch": "npm test -- --watch",
"test-e2e": "cross-env NODE_ENV=test node --trace-warnings ./test/runTests.js e2e",
"hot-server": "cross-env NODE_ENV=development node --max_old_space_size=2096 server.js",
"build-main": "cross-env NODE_ENV=production node ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --progress --profile --colors",
"build-renderer": "cross-env NODE_ENV=production node ./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 ./app/main.development",
"dev": "npm run hot-server -- --start-hot",
"postinstall": "npm run build",
"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",
"entities": "tsc -p tsconfig.db.json"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/mocks/fileMock.js",
"\\.(css|less|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleDirectories": [
"node_modules",
"app/node_modules"
],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/test/preprocessor.js"
},
"testMatch": [
"**/?(*.)(spec|test).ts?(x)"
]
},
"build": {
"productName": "ElectronReactTypescript",
"appId": "io.github.irath96.ElectronReactTypescript",
"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"
],
"directories": {
"buildResources": "resources",
"output": "release"
},
"win": {
"target": "nsis"
},
"linux": {
"target": [
"deb",
"AppImage"
]
}
},
"bin": {
"electron": "./node_modules/.bin/electron"
},
"repository": {
"type": "git",
"url": "git+https://github.com/irath96/electron-react-typescript-boilerplate.git"
},
"author": {
"name": "Alexander Rath",
"email": "[email protected]",
"url": "https://github.com/irath96"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/irath96/electron-react-typescript-boilerplate/issues"
},
"keywords": [
"electron",
"boilerplate",
"react",
"react-router",
"flux",
"webpack",
"react-hot"
],
"homepage": "https://github.com/irath96/electron-react-typescript-boilerplate#readme",
"devDependencies": {
"@types/enzyme": "^3.1.1",
"@types/history": "^4.5.2",
"@types/jest": "^22.0.0",
"@types/node": "^10.5.1",
"@types/react": "^16.0.5",
"@types/react-dom": "16.0.3",
"@types/react-hot-loader": "^3.0.4",
"@types/react-redux": "^5.0.4",
"@types/react-router": "^4.0.11",
"@types/react-router-dom": "^4.0.7",
"@types/react-router-redux": "^5.0.2",
"@types/redux-logger": "^3.0.0",
"@types/sinon": "^4.0.0",
"asar": "^0.14.0",
"boiler-room-custodian": "^0.6.2",
"concurrently": "^3.1.0",
"cross-env": "^5.0.1",
"css-loader": "^0.28.4",
"css-modules-require-hook": "^4.0.6",
"devtron": "^1.4.0",
"electron": "1.8.4",
"electron-builder": "^19.56.2",
"electron-builder-http": "^19.15.0",
"electron-devtools-installer": "^2.0.1",
"electron-rebuild": "^1.7.3",
"enzyme": "^3.0.0",
"enzyme-adapter-react-16": "^1.0.0",
"express": "^4.14.0",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.1.5",
"html-webpack-plugin": "^2.24.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^22.0.4",
"json-loader": "^0.5.4",
"node-sass": "^4.9.0",
"react-hot-loader": "^3.0.0-beta.6",
"react-test-renderer": "^16.0.0",
"redux-logger": "^3.0.6",
"sass-loader": "^6.0.6",
"sinon": "^4.0.0",
"spectron": "^3.4.1",
"style-loader": "^0.19.0",
"ts-loader": "^3.1.0",
"ts-node": "^4.1.0",
"tslint": "^5.4.3",
"typescript": "^2.4.1",
"url-loader": "^0.6.1",
"webpack": "^3.3.0",
"webpack-dev-middleware": "^2.0.3",
"webpack-hot-middleware": "^2.13.2",
"webpack-merge": "^4.1.1"
},
"dependencies": {
"electron-debug": "^1.1.0",
"font-awesome": "^4.7.0",
"history": "^4.6.1",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-redux": "^5.0.1",
"react-router": "^4.1.1",
"react-router-dom": "^4.1.1",
"react-router-redux": "^5.0.0-alpha.6",
"redux": "^3.6.0",
"redux-thunk": "^2.1.0",
"reflect-metadata": "^0.1.12",
"source-map-support": "^0.5.0",
"sqlite3": "^4.0.1",
"typeorm": "^0.2.7"
},
"resolutions": {
"@types/react-dom/@types/react": "16.0.40"
},
"devEngines": {
"node": ">=6.x",
"npm": ">=3.x"
}
}