-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
195 lines (195 loc) · 6.3 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
192
193
194
195
{
"name": "griffin",
"productName": "Griffin",
"version": "0.0.7",
"description": "An email client.",
"main": "./dist/main.js",
"scripts": {
"build-icns": "iconutil --convert icns --output Griffin.icns icon.iconset/",
"build-main": "cross-env NODE_ENV=production webpack --config webpack.main.prod.config.js",
"build-main-dev": "webpack --config webpack.main.config.js",
"build-renderer": "cross-env NODE_ENV=production webpack --config webpack.renderer.prod.config.js",
"build": "npm run build-main && npm run build-renderer",
"start-renderer-dev": "webpack-dev-server --config webpack.renderer.dev.config.js",
"start-main-dev": "webpack --config webpack.main.config.js --watch",
"start-electron-dev": "env DEBUG='*,-imap:*,-nodemon,-nodemon:*' nodemon --watch dist --exec \"electron\" .",
"start-electron-dev:win": "( test -z \"$ELECTRON_OVERRIDE_DIST_PATH\" && echo Electron path required. ) || env WSLENV=DEBUG:ELECTRON_OVERRIDE_DIST_PATH DEBUG='*,-imap:*' electron .",
"start": "# In three tabs, run: start-renderer-dev, start-main-dev, start-electron-dev",
"lint": "eslint --ext=jsx,js,tsx,ts src",
"test": "jest '(\\/test\\/(?!e2e/)).*'",
"pretest:e2e": "npm run build",
"test:e2e": "jest '(\\/test\\/e2e/).*'",
"pack": "npm run build && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --dir",
"dist": "npm run build && electron-builder",
"postinstall": "electron-builder install-app-deps"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,test,mocks}/**/*.{json,css,scss,md}": [
"prettier --config ./.prettierrc --write"
],
"{src,test,mocks}/**/*.{js,ts,tsx}": [
"prettier --config ./.prettierrc --write",
"eslint --ext=jsx,js,ts,tsx --fix src"
]
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/test/.+\\.spec)\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"node"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/mocks/fileMock.js",
"\\.(s?css|sass)$": "<rootDir>/mocks/styleMock.js"
}
},
"build": {
"productName": "Griffin",
"appId": "io.rmccue.griffin",
"mac": {
"category": "public.app-category.productivity",
"icon": "Griffin.icns",
"type": "development",
"hardenedRuntime": false
},
"directories": {
"output": "release"
},
"files": [
"dist/",
"node_modules/",
"package.json"
],
"linux": {
"target": "deb"
},
"win": {
"target": "nsis"
}
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]:Robinfr/electron-react-typescript.git"
},
"author": {
"name": "Ryan McCue",
"email": "[email protected]"
},
"license": "SEE LICENSE",
"bugs": {
"url": "https://github.com/Robinfr/electron-react-typescript/issues"
},
"homepage": "https://github.com/Robinfr/electron-react-typescript",
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@hot-loader/react-dom": "^16.8.6",
"@types/electron-devtools-installer": "^2.2.0",
"@types/jest": "^25.2.1",
"@types/node-fetch": "^2.5.7",
"@types/react": "^16.9.25",
"@types/react-dom": "^16.8.4",
"@types/react-redux": "^7.0.9",
"@types/react-test-renderer": "^16.8.1",
"@types/webdriverio": "^4.8.7",
"@types/webpack-env": "^1.13.3",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"babel-loader": "^8.0.6",
"babel-plugin-macros": "^2.8.0",
"concurrently": "^5.1.0",
"cross-env": "^5.1.3",
"css-loader": "^3.4.2",
"electron": "^8.3.0",
"electron-builder": "^22.3.2",
"electron-devtools-installer": "^2.2.4",
"electron-rebuild": "^1.10.0",
"eslint": "^6.5.1",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^1.7.0",
"file-loader": "^6.0.0",
"fork-ts-checker-webpack-plugin": "^4.1.2",
"html-webpack-plugin": "^4.0.4",
"image-webpack-loader": "^6.0.0",
"import-all.macro": "^3.0.0",
"jest": "^25.2.7",
"lint-staged": "^10.0.7",
"node-sass": "^4.12.0",
"nodemon": "^2.0.2",
"pino-pretty": "^3.6.1",
"prettier": "^1.18.2",
"react-hot-loader": "^4.8.8",
"react-test-renderer": "^16.8.6",
"redux-devtools-extension": "^2.13.5",
"sass-loader": "^8.0.2",
"source-map-loader": "^0.2.4",
"spectron": "^5.0.0",
"style-loader": "^1.1.3",
"ts-jest": "^25.3.1",
"typescript": "^3.8.3",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.4.1",
"webpack-merge": "^4.2.1"
},
"dependencies": {
"@getstation/electron-google-oauth2": "^2.1.0",
"@humanmade/react-slot-fill": "^0.0.2",
"@rmccue/sfsymbols": "^0.0.2",
"@types/classnames": "^2.2.9",
"@types/electron-json-storage": "^4.0.0",
"@types/html-to-text": "^1.4.31",
"@types/lodash": "^4.14.149",
"@types/pify": "^3.0.2",
"@types/quoted-printable": "^0.2.2",
"@types/react-router-dom": "^5.1.3",
"@types/uuid": "^7.0.2",
"classnames": "^2.2.6",
"debug": "^4.1.1",
"dotenv": "^8.2.0",
"electron-json-storage": "^4.1.8",
"electron-reloader": "^1.0.1",
"emailjs-imap-client": "^3.1.0",
"html-to-text": "^5.1.1",
"iconv-lite": "^0.5.1",
"iframe-resizer": "^4.2.10",
"imapflow": "^1.0.35",
"libmime": "4.2.x",
"linkify-urls": "^3.1.0",
"lodash": "^4.17.15",
"node-fetch": "^2.6.0",
"pify": "^5.0.0",
"quoted-printable": "^1.0.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-intl": "^4.2.2",
"react-redux": "^7.0.3",
"react-router-dom": "^5.1.2",
"react-router-last-location": "^2.0.1",
"react-slot-fill": "^2.0.1",
"redux": "^4.0.1",
"redux-persist": "^6.0.0",
"reselect": "^4.0.0",
"uuid": "^7.0.3"
}
}