forked from berntpopp/VarLens
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
226 lines (226 loc) · 7.72 KB
/
Copy pathpackage.json
File metadata and controls
226 lines (226 loc) · 7.72 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
{
"name": "varlens",
"version": "0.70.1",
"description": "Genetic variant analysis tool for external collaborators",
"main": "./out/main/index.js",
"homepage": "https://github.com/berntpopp/VarLens",
"author": "Bernt Popp <bernt.popp@gmail.com>",
"license": "MIT",
"engines": {
"node": ">=24.15.0 <25",
"npm": ">=11.11.0 <12"
},
"packageManager": "npm@11.11.0",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"build:electron": "electron-vite build",
"build:web": "vite build --config vite.web.config.ts && vite build --config vite.web-renderer.config.ts",
"build:web:server": "vite build --config vite.web.config.ts",
"build:web:renderer": "vite build --config vite.web-renderer.config.ts",
"dev:web:renderer": "vite --config vite.web-renderer.config.ts",
"preview": "electron-vite preview",
"dist": "electron-vite build && electron-builder --publish onTag",
"dist:win": "electron-vite build && electron-builder --win --publish onTag",
"dist:mac": "electron-vite build && electron-builder --mac --publish onTag",
"dist:linux": "electron-vite build && electron-builder --linux --publish onTag",
"postinstall": "npx @electron/rebuild -f -w better-sqlite3-multiple-ciphers",
"rebuild:electron": "npx @electron/rebuild -f -w better-sqlite3-multiple-ciphers",
"rebuild:node": "npm rebuild better-sqlite3-multiple-ciphers",
"lint": "eslint . --cache --cache-strategy content --concurrency=off --fix",
"lint:check": "eslint . --cache --cache-strategy content --concurrency=off",
"agent:check": "node scripts/check-agent-health.mjs",
"format": "prettier --cache --write \"*.{js,cjs,mjs,ts,tsx,vue,json,css,scss,html,md,yml,yaml}\" \"{src,tests,scripts,.github}/**/*.{js,cjs,mjs,ts,tsx,vue,json,css,scss,html,md,yml,yaml}\" \".vscode/*.json\"",
"format:check": "prettier --cache --check \"*.{js,cjs,mjs,ts,tsx,vue,json,css,scss,html,md,yml,yaml}\" \"{src,tests,scripts,.github}/**/*.{js,cjs,mjs,ts,tsx,vue,json,css,scss,html,md,yml,yaml}\" \".vscode/*.json\"",
"test": "vitest run --project main --project renderer",
"test:watch": "vitest --project main --project renderer",
"test:coverage": "COVERAGE=1 vitest run --project main --project renderer --coverage",
"test:web-gate": "vitest run --project web-gate",
"test:web-smoke": "node tests/web-smoke/run-web-smoke.cjs run",
"test:web-smoke:open": "node tests/web-smoke/run-web-smoke.cjs open",
"test:ipc-parity-fixtures": "npx tsx scripts/ipc-parity/validate-fixtures.ts",
"typecheck": "npm run typecheck:renderer && npm run typecheck:node && npm run typecheck:contracts",
"typecheck:renderer": "vue-tsc --noEmit -p tsconfig.renderer.json",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json",
"typecheck:contracts": "vitest run --project contract-typecheck",
"icons:generate": "png2icons resources/icon@2x.png build/icon -icns -ico && cp build/icon.ico resources/icon.ico",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"docs:screenshots": "npx playwright test tests/e2e/screenshots.e2e.ts",
"build:gene-ref": "npx tsx scripts/build-gene-reference-db.ts",
"varlens:hash-password": "npx tsx scripts/varlens-hash-password.ts"
},
"devDependencies": {
"@electron-toolkit/preload": "^3.0.2",
"@electron-toolkit/utils": "^4.0.0",
"@electron/fuses": "^2.1.3",
"@electron/rebuild": "^4.2.0",
"@eslint/js": "^10.0.1",
"@mdi/js": "^7.4.47",
"@playwright/test": "^1.61.1",
"@types/adm-zip": "^0.5.8",
"@types/better-sqlite3": "^7.6.13",
"@types/d3": "^7.4.3",
"@types/file-saver": "^2.0.7",
"@types/markdown-it": "^14.1.2",
"@types/nock": "^11.1.0",
"@types/node": "^26.1.1",
"@types/pg": "^8.20.0",
"@types/plotly.js": "^3.0.10",
"@vitejs/plugin-vue": "^6.0.7",
"@vitest/coverage-v8": "^4.1.10",
"@vue/test-utils": "^2.4.11",
"electron": "^40.10.5",
"electron-builder": "^26.15.2",
"electron-vite": "^5.0.0",
"eslint": "^10.7.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-vue": "^10.9.2",
"fast-check": "^4.9.0",
"globals": "^17.7.0",
"happy-dom": "^20.10.6",
"nock": "^14.0.16",
"npm-run-all2": "^9.0.2",
"playwright": "^1.59.1",
"png2icons": "^2.0.1",
"prettier": "^3.9.5",
"sass-embedded": "^1.100.0",
"tar": "^7.5.20",
"ts-morph": "^28.0.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.63.0",
"vite": "^7.3.6",
"vite-plugin-vuetify": "^2.1.3",
"vitepress": "^2.0.0-alpha.18",
"vitest": "^4.0.18",
"vue": "^3.5.39",
"vue-eslint-parser": "^10.4.1",
"vue-tsc": "^3.3.7"
},
"build": {
"appId": "com.varlens.app",
"productName": "Varlens",
"icon": "build/icon.png",
"npmRebuild": false,
"afterPack": "scripts/configure-fuses.mjs",
"extraResources": [
{
"from": "resources/gene_reference.db",
"to": "gene_reference.db"
},
{
"from": "src/main/storage/postgres/migrations/sql",
"to": "postgres-migrations"
}
],
"asarUnpack": [
"node_modules/better-sqlite3-multiple-ciphers/**/*"
],
"files": [
"out/**/*",
"node_modules/better-sqlite3-multiple-ciphers/**/*"
],
"directories": {
"buildResources": "build",
"output": "release"
},
"publish": {
"provider": "github",
"owner": "berntpopp",
"repo": "varlens",
"releaseType": "draft"
},
"mac": {
"icon": "build/icon.icns",
"target": [
{
"target": "dmg",
"arch": [
"arm64"
]
},
{
"target": "zip",
"arch": [
"arm64"
]
}
],
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"win": {
"icon": "build/icon.ico",
"target": [
"nsis",
"portable",
"zip"
],
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"portable": {
"artifactName": "${productName}-Portable-${version}.exe"
},
"linux": {
"icon": "build/icons",
"target": [
"AppImage",
"deb"
],
"artifactName": "${productName}-${version}.${ext}",
"category": "Science"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"dependencies": {
"@fastify/rate-limit": "^11.1.0",
"@fastify/secure-session": "^8.2.0",
"@fastify/static": "^10.1.0",
"@fastify/swagger": "^9.8.0",
"@fastify/swagger-ui": "^6.1.0",
"@node-rs/argon2": "^2.0.2",
"@vueuse/core": "^14.3.0",
"adm-zip": "^0.6.0",
"better-sqlite3-multiple-ciphers": "^12.11.1",
"bottleneck": "^2.19.5",
"d3": "^7.9.0",
"electron-log": "^5.4.4",
"electron-updater": "^6.8.9",
"fastify": "^5.10.0",
"fastify-type-provider-zod": "^7.0.0",
"file-saver": "^2.0.5",
"jstat": "^1.9.6",
"kysely": "^0.29.3",
"markdown-it": "^14.3.0",
"nanoid": "^6.0.0",
"pdbe-molstar": "^3.12.0",
"pg": "^8.22.0",
"pg-copy-streams": "^7.0.0",
"pg-query-stream": "^4.16.0",
"pinia": "^3.0.4",
"piscina": "^5.2.0",
"plotly.js-basic-dist-min": "^3.7.0",
"stream-json": "^3.5.0",
"vue-router": "^5.1.0",
"vuedraggable": "^4.1.0",
"vuetify": "^4.1.4",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
"zod": "^4.4.3"
},
"overrides": {
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
"@xmldom/xmldom": "^0.8.13",
"lodash": "^4.18.1"
},
"prettier": {
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"printWidth": 100,
"endOfLine": "lf"
}
}