Tor first loads drop from ~25 MB raw to ~5 MB on the wire; prod build writes .wasm.br sidecars and Alpine nginx serves them under /assets with long-lived cache.
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 0.0.0.0",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"optimize-dist-wasm": "node scripts/optimize-dist-wasm.mjs",
|
|
"postinstall": "node patches/patch-exiftool-stderr.mjs && node patches/patch-zeroperl-worker-fetch.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"@uswriting/exiftool": "1.0.9",
|
|
"altcha-lib": "^2.7.0",
|
|
"axios": "^1.20.0",
|
|
"dayjs": "^1.11.23",
|
|
"escape-html": "^1.0.3",
|
|
"hash-wasm": "^4.12.0",
|
|
"pinia": "^4.0.3",
|
|
"pretty-bytes": "^7.2.0",
|
|
"tailwindcss": "^4.3.3",
|
|
"vue": "^3.5.32",
|
|
"vue-router": "^4.6.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/escape-html": "^1.0.4",
|
|
"@types/node": "^22.10.7",
|
|
"@vitejs/plugin-vue": "^6.0.5",
|
|
"@vue/tsconfig": "^0.9.1",
|
|
"typescript": "~6.0.2",
|
|
"unplugin-vue-components": "^32.1.0",
|
|
"vite": "^8.0.4",
|
|
"vitest": "^3.2.7",
|
|
"vue-tsc": "^3.2.6"
|
|
}
|
|
}
|