-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpackage.json
More file actions
167 lines (167 loc) · 5.18 KB
/
package.json
File metadata and controls
167 lines (167 loc) · 5.18 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
{
"name": "whats-reader",
"productName": "WhatsApp Backup Reader",
"version": "1.30.4",
"description": "A desktop app to read and visualize WhatsApp chat exports",
"license": "AGPL-3.0",
"author": {
"name": "Rodrigo Gomes da Silva",
"email": "rodrigo.smscom@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/rodrigogs/whats-reader.git"
},
"homepage": "https://github.com/rodrigogs/whats-reader#readme",
"bugs": {
"url": "https://github.com/rodrigogs/whats-reader/issues"
},
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"i18n:compile": "paraglide-js compile --project ./project.inlang --outdir ./src/lib/paraglide --strategy localStorage cookie preferredLanguage baseLocale",
"check": "svelte-kit sync && npm run i18n:compile && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && npm run i18n:compile && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"electron": "npm run build && electron .",
"electron:dev": "concurrently \"npm run dev\" \"wait-on http://localhost:5173 && cross-env NODE_ENV=development electron .\"",
"electron:build": "npm run build && electron-builder",
"electron:build:mac": "npm run build && electron-builder --mac",
"electron:build:win": "npm run build && electron-builder --win",
"electron:build:linux": "npm run build && electron-builder --linux",
"machine-translate": "inlang machine translate --project project.inlang",
"act:setup": "docker pull catthehacker/ubuntu:act-latest && test -f .act/secrets || cp .act/secrets.example .act/secrets",
"act:ci": "npm run act:ci:lint && npm run act:ci:typecheck && npm run act:ci:build",
"act:ci:lint": ".act/run push -W .github/workflows/ci.yml -e .act/events/push-dev.json -j lint",
"act:ci:typecheck": ".act/run push -W .github/workflows/ci.yml -e .act/events/push-dev.json -j typecheck",
"act:ci:build": ".act/run push -W .github/workflows/ci.yml -e .act/events/push-dev.json -j build",
"act:release": ".act/run push -W .github/workflows/release.yml --secret-file .act/secrets -e .act/events/push-main.json",
"act:build": ".act/run workflow_dispatch -W .github/workflows/build.yml --secret-file .act/secrets --input version=${VERSION:-0.0.0-local} --matrix platform:linux-x64",
"act:deploy": ".act/run workflow_dispatch -W .github/workflows/deploy.yml -j build"
},
"dependencies": {
"electron-updater": "^6.8.3"
},
"overrides": {
"cookie": "^0.7.0"
},
"devDependencies": {
"@biomejs/biome": "2.4.10",
"@floating-ui/dom": "^1.7.6",
"@huggingface/transformers": "^3.8.1",
"@inlang/cli": "^3.1.9",
"@inlang/paraglide-js": "2.15.1",
"@inlang/plugin-m-function-matcher": "^2.2.4",
"@inlang/plugin-message-format": "^4.4.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@sveltejs/adapter-static": "^3.0.10",
"@sveltejs/kit": "^2.55.0",
"@sveltejs/vite-plugin-svelte": "^6.2.4",
"@tailwindcss/vite": "^4.2.2",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electron": "^39.8.6",
"electron-builder": "~26.0.12",
"idb-keyval": "^6.2.2",
"jszip": "^3.10.1",
"semantic-release": "^25.0.3",
"svelte": "^5.55.1",
"svelte-check": "^4.4.6",
"tailwindcss": "^4.2.2",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"wait-on": "^9.0.4"
},
"build": {
"appId": "com.whatsapp.backup-reader",
"productName": "WhatsApp Backup Reader",
"afterPack": "./scripts/afterPack.cjs",
"publish": {
"provider": "github",
"owner": "rodrigogs",
"repo": "whats-reader"
},
"directories": {
"output": "dist-electron"
},
"files": [
"build/**/*",
"electron/**/*",
"!**/*.map",
"!**/*.md",
"!**/*.ts",
"!**/*.d.mts",
"!**/tsconfig*",
"!**/LICENSE",
"!**/README",
"!**/.github",
"!**/test",
"!**/tests",
"!**/__tests__",
"!**/docs",
"!**/examples",
"!build/og-image*.png",
"!build/apple-touch-icon.png",
"!build/web-app-manifest-*.png",
"!build/site.webmanifest"
],
"asarUnpack": [
"**/*.{node,dll}"
],
"asar": true,
"compression": "maximum",
"removePackageScripts": true,
"electronLanguages": [
"en",
"en-US",
"pt",
"pt-BR"
],
"mac": {
"category": "public.app-category.utilities",
"icon": "static/icon.icns",
"target": [
"dmg",
"zip"
],
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"win": {
"icon": "static/icon.ico",
"target": [
"nsis",
"portable"
],
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"linux": {
"icon": "static/icon.png",
"target": [
"deb",
"rpm",
"AppImage"
],
"category": "Utility",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"dmg": {
"format": "ULFO"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"differentialPackage": true,
"artifactName": "${productName}-Setup-${version}-${arch}.${ext}"
},
"generateUpdatesFilesForAllChannels": true,
"npmRebuild": false,
"buildDependenciesFromSource": false
}
}