-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathpackage.json
More file actions
247 lines (247 loc) · 10.5 KB
/
package.json
File metadata and controls
247 lines (247 loc) · 10.5 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
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
{
"name": "pearpass-app-desktop",
"productName": "PearPass",
"version": "2.0.0",
"description": "PearPass password manager",
"author": "PearPass",
"main": "electron/main.cjs",
"upgrade": "pear://dbkezmhetxwo95ab1kcojfraw1eryzf7kex5cahykf6b9c3amd6o",
"legacyChannelLink": "pear://tywsat7gz8m65ejx4zjn3773pbdc4j8m66tukis8dgzekraymtzo",
"build": {
"appId": "com.pears.pass",
"icon": "assets/darwin/icon.png",
"asar": false,
"files": [
"electron/**/*",
"dist/**/*",
"index.html",
"index.js",
"packages/**/*",
"assets/**/*",
"src/utils/**/*"
],
"extraResources": [
{
"from": "assets",
"to": "assets"
},
{
"from": "resources/bin",
"to": "bin"
}
],
"mac": {
"category": "public.app-category.utilities",
"icon": "assets/darwin/icon.png",
"target": "dmg",
"hardenedRuntime": true,
"gatekeeperAssess": false
},
"afterSign": "scripts/notarize.cjs",
"afterPack": "scripts/afterPack.cjs",
"dmg": {},
"linux": {
"icon": "assets/linux/icon.png",
"target": [
"AppImage"
],
"artifactName": "${productName}.${ext}"
},
"toolsets": {
"appimage": "1.0.2"
},
"publish": [
{
"provider": "github",
"owner": "tetherto",
"repo": "pearpass-app-desktop"
}
]
},
"pear": {
"name": "pearpass-app-desktop",
"routes": ".",
"unrouted": [
"/packages/pearpass-lib-vault-core/src/worklet/app.js"
],
"gui": {
"backgroundColor": "#1F2430",
"height": "1024",
"width": "1440",
"minWidth": "816"
},
"links": [
"https://hooks.slack.com/services/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",
"https://docs.google.com/forms/d/e/1FAIpQLScLltvRe64VzMDRzOVjGtHWZ3KafLC2zzvkEoJfTzJkFd67OA/*"
],
"stage": {
"entrypoints": [],
"prefetch": [
"assets",
"resources"
],
"ignore": [
".github",
"appling",
".git",
".gitignore",
".husky",
"e2e",
"scripts",
"src",
"tsconfig.json",
"eslint.config.js",
"jest.config.js",
"flatpak"
]
}
},
"type": "module",
"license": "Apache-2.0",
"scripts": {
"test": "jest",
"build:app": "lingui extract && lingui compile && tsc",
"lint:fix": "eslint --fix ./src",
"lint": "eslint ./src",
"build:worklet": "node scripts/build.worklet.mjs",
"build": "node scripts/build.worklet.mjs && npm run build:app && node scripts/bundle-renderer.mjs && node scripts/bundle-bridge.mjs",
"build:prod": "cross-env NODE_ENV=production npm run build",
"bundle:renderer": "node scripts/bundle-renderer.mjs",
"bundle:bridge": "node scripts/bundle-bridge.mjs",
"lingui:extract": "lingui extract",
"lingui:compile": "lingui compile",
"prepare": "husky",
"postinstall": "node scripts/patch-electron-dock-name.mjs",
"watch:packages": "nodemon --watch packages --ext js,json --exec \"echo 'Packages changed'\"",
"electron": "electron .",
"dev": "concurrently -n \"TypeScript,Bundle,Bridge,Electron\" -c \"blue,cyan,magenta,green\" \"node node_modules/typescript/bin/tsc --watch\" \"node scripts/bundle-renderer.mjs --watch\" \"node scripts/bundle-bridge.mjs --watch\" \"wait-on dist/renderer.bundle.js && electron .\"",
"dev:reset": "PEARPASS_DEV_RESET=1 npm run dev",
"dist:prepare:dev": "npm install && npm run build && npm prune --omit=dev && npm install electron --no-save",
"dist:mac:arm64": "npx electron-builder --mac --arm64 -c electron-builder.mac.json --publish never",
"dist:mac:x64": "npx electron-builder --mac --x64 -c electron-builder.mac.json --publish never",
"dist:mac:arm64:dev": "SKIP_NOTARIZE=true CSC_IDENTITY_AUTO_DISCOVERY=false npm run dist:mac:arm64",
"dist:mac:x64:dev": "SKIP_NOTARIZE=true CSC_IDENTITY_AUTO_DISCOVERY=false npm run dist:mac:x64",
"dist:win:x64": "electron-forge make --platform=win32 --arch=x64",
"dist:win:arm64": "electron-forge make --platform=win32 --arch=arm64",
"dist:linux:x64": "npx electron-builder --linux --x64 -c electron-builder.linux.json --publish never",
"dist:linux:arm64": "npx electron-builder --linux --arm64 -c electron-builder.linux.json --publish never",
"make": "npm run build:prod && npm run dist:win:x64 && npm run dist:win:arm64",
"dist:snap:x64": "npx electron-builder --linux snap --x64 --publish never",
"dist:snap:arm64": "npx electron-builder --linux snap --arm64 --publish never",
"dist:snap:x64:dev": "npm run dist:prepare:dev && dist:snap:x64 && npm install",
"dist:snap:arm64:dev": "npm run dist:prepare:dev && dist:snap:arm64 && npm install",
"pear:build:darwin:arm64": "npx pear-build --package=./package.json --darwin-arm64-app ./out/mac-arm64/PearPass.app --target ../pearpass-app-desktop-$npm_package_version",
"pear:build:darwin:x64": "npx pear-build --package=./package.json --darwin-x64-app ./out/mac/PearPass.app --target ../pearpass-app-desktop-$npm_package_version",
"pear:build:linux:x64": "npx pear-build --package=./package.json --linux-x64-app ./out/PearPass.AppImage --target ../pearpass-app-desktop-$npm_package_version",
"pear:build:linux:arm64": "npx pear-build --package=./package.json --linux-arm64-app ./out/PearPass.AppImage --target ../pearpass-app-desktop-$npm_package_version",
"pear:build:win:x64": "npx pear-build --package=./package.json --win32-x64-app ./out/PearPass/PearPass.msix --target ../pearpass-app-desktop-%npm_package_version%",
"pear:build:win:arm64": "npx pear-build --package=./package.json --win32-arm64-app ./out/PearPass/PearPass.msix --target ../pearpass-app-desktop-%npm_package_version%"
},
"devDependencies": {
"@babel/core": "7.26.10",
"@babel/preset-env": "7.26.9",
"@babel/preset-react": "7.26.3",
"@babel/preset-typescript": "^7.28.5",
"@electron-forge/cli": "^7.6.0",
"@electron-forge/maker-msix": "^7.6.0",
"@electron/notarize": "^2.2.1",
"@lingui/cli": "5.1.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.2.0",
"@tetherto/tether-dev-docs": "git+https://github.com/tetherto/tether-dev-docs.git",
"@types/node": "25.4.0",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
"@typescript-eslint/eslint-plugin": "^8.46.0",
"@typescript-eslint/parser": "^8.46.0",
"@vercel/ncc": "0.38.3",
"babel-jest": "29.7.0",
"bare-pack": "1.4.8",
"cmake-pear": "2.0.0",
"concurrently": "9.2.1",
"cross-env": "^10.1.0",
"electron": "^33.0.0",
"electron-builder": "^26.8.1",
"electron-forge-plugin-prune-prebuilds": "^1.0.0",
"electron-forge-plugin-universal-prebuilds": "^1.0.0",
"electron-reload": "^2.0.0-alpha.1",
"esbuild": "^0.24.2",
"eslint": "^9.39.3",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-eslint-plugin": "6.4.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.4",
"globals": "15.14.0",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"nodemon": "^3.0.0",
"patch-package": "^8.0.1",
"pear-build": "^1.1.0",
"pear-interface": "1.0.0",
"pear-runtime-updater": "^3.0.10",
"prettier": "3.4.2",
"typescript": "5.9.3",
"wait-on": "^8.0.0",
"which-runtime": "^1.3.2"
},
"dependencies": {
"@lingui/core": "5.1.2",
"@lingui/format-json": "5.1.2",
"@lingui/macro": "5.1.2",
"@lingui/react": "5.1.2",
"@rive-app/react-webgl2": "^4.28.1",
"@tetherto/pear-apps-lib-feedback": "git+https://github.com/tetherto/pear-apps-lib-feedback.git",
"@tetherto/pear-apps-lib-ui-react-hooks": "git+https://github.com/tetherto/pear-apps-lib-ui-react-hooks.git",
"@tetherto/pear-apps-utils-avatar-initials": "git+https://github.com/tetherto/pear-apps-utils-avatar-initials.git",
"@tetherto/pear-apps-utils-date": "git+https://github.com/tetherto/pear-apps-utils-date.git",
"@tetherto/pear-apps-utils-generate-unique-id": "git+https://github.com/tetherto/pear-apps-utils-generate-unique-id.git",
"@tetherto/pear-apps-utils-pattern-search": "git+https://github.com/tetherto/pear-apps-utils-pattern-search.git",
"@tetherto/pear-apps-utils-qr": "git+https://github.com/tetherto/pear-apps-utils-qr.git",
"@tetherto/pear-apps-utils-validator": "git+https://github.com/tetherto/pear-apps-utils-validator.git",
"@tetherto/pearpass-lib-constants": "git+https://github.com/tetherto/pearpass-lib-constants.git",
"@tetherto/pearpass-lib-data-export": "git+https://github.com/tetherto/pearpass-lib-data-export.git",
"@tetherto/pearpass-lib-data-import": "git+https://github.com/tetherto/pearpass-lib-data-import.git",
"@tetherto/pearpass-lib-native-messaging-bridge": "git+https://github.com/tetherto/pearpass-lib-native-messaging-bridge.git",
"@tetherto/pearpass-lib-ui-kit": "git+https://github.com/tetherto/pearpass-lib-ui-react-native-components.git#52a0203fac624124e214ffa965eccb840c48d715",
"@tetherto/pearpass-lib-ui-theme-provider": "git+https://github.com/tetherto/pearpass-lib-ui-theme-provider.git",
"@tetherto/pearpass-lib-vault": "git+https://github.com/tetherto/pearpass-lib-vault.git",
"@tetherto/pearpass-lib-vault-core": "git+https://github.com/tetherto/pearpass-lib-vault-core.git#de5403042d35c6f200c37c10c28adfc3c82151b1",
"@tetherto/pearpass-utils-password-check": "git+https://github.com/tetherto/pearpass-utils-password-check.git",
"@tetherto/pearpass-utils-password-generator": "git+https://github.com/tetherto/pearpass-utils-password-generator.git",
"autopass": "~3.3.0",
"bare-os": "3.6.2",
"bare-subprocess": "5.2.1",
"buffer": "6.0.3",
"compact-encoding": "2.18.0",
"dotenv": "17.2.1",
"electron-updater": "^6.8.3",
"htm": "3.1.1",
"hyperblobs": "^2.11.1",
"hyperdht": "^6.29.6",
"hyperdrive": "^13.3.2",
"jszip": "3.10.1",
"mirror-drive": "^1.14.1",
"pear-aliases": "1.0.6",
"pear-bridge": "1.2.4",
"pear-electron": "1.7.25-rc.0",
"pear-ipc": "6.4.0",
"pear-run": "1.0.5",
"pear-runtime": "^1.1.1",
"pear-runtime-legacy-storage": "^1.1.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"styled-components": "6.1.19"
},
"optionalDependencies": {
"@esbuild/win32-x64": "0.24.2"
},
"overrides": {
"@xmldom/xmldom": "^0.8.10",
"react": "19.1.0",
"react-dom": "19.1.0",
"electron-windows-msix": "git+https://github.com/chetasr/electron-windows-msix.git"
}
}