-
Notifications
You must be signed in to change notification settings - Fork 99
/
package.json
275 lines (275 loc) · 13.9 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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
{
"name": "electron-mail",
"description": "Unofficial ProtonMail Desktop App",
"version": "5.2.3",
"author": "Vladimir Yakovlev <desktop-app@protonmail.ch>",
"license": "GPL-3.0",
"homepage": "https://github.com/vladimiry/ElectronMail",
"repository": {
"type": "git",
"url": "https://github.com/vladimiry/ElectronMail.git"
},
"bugs": {
"url": "https://github.com/vladimiry/ElectronMail/issues"
},
"engines": {
"node": ">=20"
},
"type": "module",
"main": "./app/electron-main/index.cjs",
"scripts": {
"postinstall": "node -e \"if (process.platform === 'win32') process.exit(0); require('child_process').exec('chmod +x ./node_modules/.bin/*')\"",
"prepare": "npm-run-all prepare:husky-install prepare:remove:prebuild-install prepare:ts-patch prepare:ts-patch:check",
"prepare:husky-install": "husky install",
"prepare:ts-patch": "ts-patch install -s",
"prepare:ts-patch:check": "ts-patch check",
"prepare:remove:prebuild-install": "rimraf ./node_modules/prebuild-install",
"app:dist": "npm-run-all lint build assets prepare-native-deps build:electron-builder-hooks",
"build": "npm-run-all build:electron-main build:electron-preload build:web",
"build:dev": "cross-env NODE_ENV=development npm-run-all build",
"build:electron-main": "npm-run-all scripts/code-generation/electron-main build:electron-main:compile",
"build:electron-main:compile": "pnpm run webpack:shortcut -- --config ./webpack-configs/electron-main.ts",
"build:electron-main:dev": "cross-env NODE_ENV=development npm-run-all build:electron-main",
"build:electron-main:watch": "cross-env WEBPACK_ENV_WATCH=1 npm-run-all build:electron-main",
"build:electron-main:watch:dev": "cross-env WEBPACK_ENV_WATCH=1 npm-run-all build:electron-main:dev",
"build:electron-preload": "npm-run-all build:electron-preload:about build:electron-preload:browser-window build:electron-preload:database-indexer build:electron-preload:search-in-page-browser-view build:electron-preload:webview-primary build:electron-preload:webview-calendar",
"build:electron-preload:dev": "cross-env NODE_ENV=development npm-run-all build:electron-preload",
"build:electron-preload:about": "pnpm run webpack:shortcut -- --config ./webpack-configs/preload/about.ts",
"build:electron-preload:browser-window": "pnpm run webpack:shortcut -- --config ./webpack-configs/preload/browser-window.ts",
"build:electron-preload:database-indexer": "pnpm run webpack:shortcut -- --config ./webpack-configs/preload/database-indexer.ts",
"build:electron-preload:search-in-page-browser-view": "pnpm run webpack:shortcut -- --config ./webpack-configs/preload/search-in-page-browser-view.ts",
"build:electron-preload:webview-primary": "pnpm run webpack:shortcut -- --config ./webpack-configs/preload/webview-primary.ts",
"build:electron-preload:webview-primary:dev": "cross-env NODE_ENV=development npm-run-all build:electron-preload:webview-primary",
"build:electron-preload:webview-calendar": "pnpm run webpack:shortcut -- --config ./webpack-configs/preload/webview-calendar.ts",
"build:electron-preload:webview-calendar:dev": "cross-env NODE_ENV=development npm-run-all build:electron-preload:webview-calendar",
"build:web": "npm-run-all build:web:browser-window build:web:about build:web:search",
"build:web:dev": "cross-env NODE_ENV=development npm-run-all build:web",
"build:web:about": "pnpm run webpack:shortcut -- --config ./webpack-configs/web/about.ts",
"build:web:about:dev": "cross-env NODE_ENV=development npm-run-all build:web:about",
"build:web:browser-window:run": "pnpm run webpack:shortcut -- --config ./webpack-configs/web/browser-window.ts",
"build:web:browser-window:finalize": "pnpm run ts-node:shortcut ./scripts/finalize-browser-window-build.ts",
"build:web:browser-window": "npm-run-all build:web:browser-window:run build:web:browser-window:finalize",
"build:web:browser-window:dev": "cross-env NODE_ENV=development npm-run-all build:web:browser-window",
"build:web:search": "pnpm run webpack:shortcut -- --config ./webpack-configs/web/search-in-page-browser-view.ts",
"build:web:search:dev": "cross-env NODE_ENV=development npm-run-all build:web:search",
"build:electron-builder-hooks:celanup": "rimraf ./scripts/electron-builder/hooks/afterPack/index.js",
"build:electron-builder-hooks:build": "pnpm run webpack:shortcut -- --config ./webpack-configs/electron-builder-hooks.ts",
"build:electron-builder-hooks": "npm-run-all build:electron-builder-hooks:celanup build:electron-builder-hooks:build",
"prepare-native-deps": "npm-run-all clean:prebuilds prepare:remove:prebuild-install scripts/prepare-native-deps",
"clean:app": "rimraf ./app",
"clean:app-dev": "rimraf ./app-dev",
"clean:output": "rimraf ./output",
"clean:prebuilds": "rimraf ./node_modules/{keytar,sodium-native,msgpackr-extract}/{bin,build,prebuilds} ./node_modules/@msgpackr-extract/ \"./node_modules/sodium-native/deps/**/!(bin.js)\"",
"assets": "npm-run-all assets:copy assets:webclient",
"assets:dev": "npm-run-all assets:copy:dev assets:webclient:dev",
"assets:copy": "cpx \"./src/assets/dist/**/*\" ./app/assets",
"assets:copy:dev": "cpx \"./src/assets/dist/**/*\" ./app-dev/assets",
"assets:webclient": "pnpm run ts-node:shortcut ./scripts/prepare-webclient/index.ts ./app",
"assets:webclient:dev": "pnpm run ts-node:shortcut ./scripts/prepare-webclient/index.ts ./app-dev",
"electron-builder:dist": "npm run electron-builder:shortcut -- --publish never",
"electron-builder:dist:linux:appimage": "pnpm run ts-node:shortcut ./scripts/electron-builder/build-appimage.ts",
"electron-builder:dist:linux:snap": "npm run electron-builder:shortcut -- --publish never --linux snap",
"electron-builder:dist:linux:deb": "npm run electron-builder:shortcut -- --publish never --linux deb",
"electron-builder:dist:linux:freebsd": "npm run electron-builder:shortcut -- --publish never --linux freebsd",
"electron-builder:dist:linux:pacman": "npm run electron-builder:shortcut -- --publish never --linux pacman",
"electron-builder:dist:linux:rpm": "npm run electron-builder:shortcut -- --publish never --linux rpm",
"lint": "npm-run-all scripts/code-generation/electron-main lint:code",
"lint:code": "npm-run-all lint:ts:eslint",
"lint:ts:base:eslint": "eslint",
"lint:ts:eslint": "pnpm run lint:ts:base:eslint \"./src/**/*.ts\" \"./scripts/**/*.ts\" \"./webpack-configs/**/*.ts\"",
"start:electron": "electron ./app/electron-main/index.cjs",
"start:electron:dev": "electron --inspect-brk- ./app-dev/electron-main/index.cjs",
"test:e2e:build-code": "cross-env NODE_ENV=e2e npm-run-all build:electron-main build:electron-preload:browser-window build:electron-preload:webview-primary build:electron-preload:webview-calendar",
"test:e2e:run": "cross-env DEBUG=pw:api node ./node_modules/@playwright/test/cli.js test --timeout 1200000",
"test:e2e": "npm-run-all test:e2e:build-code test:e2e:run",
"scripts/prepare-native-deps": "pnpm run ts-node:shortcut ./scripts/prepare-native-deps.ts",
"scripts/code-generation/electron-main": "pnpm run ts-node:shortcut ./scripts/code-generation/electron-main.ts",
"scripts/dist-packages/print-hashes": "pnpm run ts-node:shortcut ./scripts/dist-packages/print-hashes.ts ./dist",
"scripts/dist-packages/upload": "pnpm run ts-node:shortcut ./scripts/dist-packages/upload.ts ./dist ./output",
"scripts/download-tray-icon-font": "pnpm run ts-node:shortcut ./scripts/download-tray-icon-font.ts",
"scripts/transfer": "pnpm run ts-node:shortcut ./scripts/transfer/index.ts",
"electron-builder:shortcut": "npm exec --package=electron-builder -- electron-builder",
"ts-node:shortcut": "cross-env TS_NODE_FILES=true node --loader ts-node/esm",
"webpack:shortcut": "cross-env TS_NODE_FILES=true TS_NODE_PROJECT=./webpack-configs/tsconfig.json npm exec --package=webpack-cli --node-options=\"--loader ts-node/esm --experimental-json-modules\" -- webpack"
},
"dependencies": {
"electron-rpc-api": "10.0.0",
"fs-json-store-encryption-adapter": "4.0.0",
"keytar": "7.9.0",
"msgpackr": "1.11.0"
},
"devDependencies": {
"@angular-eslint/eslint-plugin": "18.3.0",
"@angular/animations": "18.2.1",
"@angular/cdk": "18.2.1",
"@angular/common": "18.2.1",
"@angular/compiler": "18.2.1",
"@angular/compiler-cli": "18.2.1",
"@angular/core": "18.2.1",
"@angular/forms": "18.2.1",
"@angular/language-service": "18.2.1",
"@angular/platform-browser": "18.2.1",
"@angular/platform-browser-dynamic": "18.2.1",
"@angular/router": "18.2.1",
"@babel/core": "7.25.2",
"@babel/plugin-syntax-import-assertions": "7.24.7",
"@babel/plugin-transform-async-generator-functions": "7.25.4",
"@babel/plugin-transform-async-to-generator": "7.24.7",
"@babel/plugin-transform-runtime": "7.25.4",
"@babel/runtime": "7.25.4",
"@cliqz/url-parser": "1.1.5",
"@electron/rebuild": "3.6.0",
"@expo/spawn-async": "1.7.2",
"@ng-select/ng-select": "13.7.0",
"@ngrx/component": "18.0.2",
"@ngrx/effects": "18.0.2",
"@ngrx/store": "18.0.2",
"@ngtools/webpack": "18.2.1",
"@oneidentity/zstd-js": "1.0.3",
"@playwright/test": "1.46.1",
"@rgba-image/lanczos": "0.1.1",
"@t-bowersox/cookie": "github:vladimiry-playground/t-bowersox-cookie",
"@types/archiver": "6.0.2",
"@types/byline": "4.2.36",
"@types/dts-generator": "2.1.11",
"@types/fs-extra": "11.0.4",
"@types/node": "^20",
"@types/opentype.js": "1.3.8",
"@types/path-is-inside": "1.0.3",
"@types/randomstring": "1.3.0",
"@types/react": "^18",
"@types/react-router": "5.1.20",
"@types/readable-stream": "4.0.15",
"@types/sanitize-html": "2.13.0",
"@types/semver": "7.5.8",
"@types/sinon": "17.0.3",
"@types/tough-cookie": "4.0.5",
"@types/ts-nameof": "4.2.5",
"@types/turndown": "5.0.5",
"@types/valid-url": "1.0.7",
"@types/validator": "13.12.0",
"@types/webpack-node-externals": "3.0.4",
"@typescript-eslint/eslint-plugin": "7.13.1",
"@typescript-eslint/parser": "7.13.1",
"app-builder-lib": "24.13.3",
"archiver": "7.0.1",
"asap-es": "1.3.3",
"babel-loader": "9.1.3",
"bootstrap": "4.6.1",
"byline": "5.0.0",
"class-transformer": "0.5.1",
"class-transformer-validator": "0.9.1",
"class-validator": "0.14.1",
"color-fns": "0.1.1",
"combine-errors": "3.0.3",
"compare-versions": "6.1.1",
"cpx2": "7.0.1",
"cross-env": "7.0.3",
"css-loader": "7.1.2",
"dprint": "0.47.2",
"dts-generator": "3.0.0",
"electron": "32.0.1",
"electron-builder": "24.13.3",
"electron-fetch": "1.9.1",
"electron-log": "5.1.7",
"electron-unhandled": "5.0.0",
"eslint": "8.57.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-sonarjs": "0.25.1",
"fast-glob": "3.3.2",
"font-awesome": "4.7.0",
"format-imports": "4.0.4",
"fs-backwards-stream": "1.0.0",
"fs-extra": "11.2.0",
"fs-json-store": "8.0.1",
"fs-write-stream-atomic": "1.0.10",
"html-loader": "5.1.0",
"html-webpack-plugin": "5.6.0",
"husky": "9.1.5",
"immer": "10.1.1",
"imports-loader": "5.0.0",
"js-base64": "3.7.7",
"lint-staged": "15.2.9",
"lzutf8": "0.6.3",
"mini-css-extract-plugin": "2.9.1",
"monaco-editor": "0.36.1",
"mrmime": "2.0.0",
"ndx": "1.0.2",
"ndx-query": "1.0.1",
"ngx-bootstrap": "12.0.0",
"ngx-color-picker": "16.0.0",
"node-libs-browser": "2.2.1",
"node-loader": "2.0.0",
"npm-run-all2": "6.2.2",
"os-locale": "6.0.2",
"otplib": "12.0.1",
"outdent": "0.8.0",
"path-is-inside": "1.0.2",
"playwright": "1.46.1",
"postcss-loader": "8.1.1",
"postcss-url": "10.1.3",
"pure-uuid": "1.8.1",
"pureimage": "0.3.15",
"quickjs-emscripten": "0.29.2",
"randomstring": "1.3.0",
"rate-limiter-flexible": "5.0.3",
"reflect-metadata": "0.2.2",
"remeda": "2.11.0",
"resolve-url-loader": "5.0.0",
"rimraf": "6.0.1",
"rxjs": "7.8.1",
"sanitize-html": "2.13.0",
"sass": "1.77.8",
"sass-loader": "16.0.1",
"semver": "7.6.3",
"serialize-error": "11.0.3",
"sinon": "18.0.0",
"stream-browserify": "3.0.0",
"terser-webpack-plugin": "5.3.10",
"to-string-loader": "1.2.0",
"tough-cookie": "4.1.4",
"tough-cookie-web-storage-store": "1.0.0",
"truncate-utf8-bytes": "1.0.2",
"ts-deferred": "1.0.4",
"ts-essentials": "10.0.2",
"ts-loader": "9.5.1",
"ts-nameof": "5.0.0",
"ts-node": "10.9.2",
"ts-patch": "3.2.1",
"ts-transformer-keys": "0.4.4",
"tslib": "2.6.2",
"turndown": "7.2.0",
"typescript": "5.5.4",
"typescript-transform-paths": "3.5.0",
"valid-url": "1.0.9",
"webpack": "5.90.0",
"webpack-cli": "5.1.4",
"webpack-merge": "6.0.1",
"webpack-node-externals": "3.0.0",
"zone.js": "0.15.0"
},
"resolutions": {
"@types/react": "^18",
"app-builder-lib": "24.13.3",
"builder-util-runtime": "9.2.5",
"rxjs": "^7",
"tslib": "^2",
"typescript": "^5.5.4",
"webpack": "^5"
},
"pnpm": {
"patchedDependencies": {
"@cliqz/url-parser@1.1.5": "patches/@cliqz__url-parser@1.1.5.patch",
"@electron/rebuild@3.6.0": "patches/@electron__rebuild@3.6.0.patch",
"@jitl/quickjs-wasmfile-release-sync@0.29.2": "patches/@jitl__quickjs-wasmfile-release-sync@0.29.2.patch",
"@ts-nameof/transforms-ts@4.2.1": "patches/@ts-nameof__transforms-ts@4.2.1.patch",
"app-builder-lib@24.13.3": "patches/app-builder-lib@24.13.3.patch",
"class-transformer-validator@0.9.1": "patches/class-transformer-validator@0.9.1.patch",
"monaco-editor@0.36.1": "patches/monaco-editor@0.36.1.patch",
"msgpackr-extract@3.0.3": "patches/msgpackr-extract@3.0.3.patch",
"os-locale@6.0.2": "patches/os-locale@6.0.2.patch",
"tough-cookie-web-storage-store@1.0.0": "patches/tough-cookie-web-storage-store@1.0.0.patch",
"ts-node@10.9.2": "patches/ts-node@10.9.2.patch"
}
}
}