e6b4f343e0
Clean config/copy items (Phase 7): - L170: build.sourcemap 'hidden' on main/preload/renderer — emit .map for offline crash symbolication (of the CC8 logger's raw stacks) without exposing them. - L34: add `test:integration` npm script (AEROFETCH_REAL_DOWNLOAD=1) for the opt-in real-download suite; stays out of `npm test` (needs network + live yt-dlp). - L87: HistoryEntry carries the original `options`; redownload replays them so a re-download reproduces the same post-processing instead of the current defaults. - L96: folder "Browse" buttons -> "Browse…" (they open the OS picker). - L97: PO-token placeholder "(none)" -> "Optional -- paste a token" (consistent). - Ticked already-resolved: L99 (M28 aria-label), L113 (UX2 tooltip=aria-label), L95 (usage follows verb/modifier rule), L172 (skipLibCheck accepted). typecheck + 268 tests + eslint + prettier green (touched files LF/clean). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
65 lines
2.2 KiB
JSON
65 lines
2.2 KiB
JSON
{
|
|
"name": "aerofetch",
|
|
"version": "0.5.0",
|
|
"description": "A yt-dlp frontend for Windows",
|
|
"main": "./out/main/index.js",
|
|
"author": "AeroFetch",
|
|
"license": "UNLICENSED",
|
|
"homepage": "https://gitea.netbird.zimspace.uk:5938/debont80/AeroFetch",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.netbird.zimspace.uk:5938/debont80/AeroFetch.git"
|
|
},
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "electron-vite dev",
|
|
"dev:watch": "electron-vite dev --watch",
|
|
"ui": "vite",
|
|
"ui:build": "vite build",
|
|
"ui:preview": "vite preview",
|
|
"build": "electron-vite build",
|
|
"clean:dist": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
"build:win": "npm run clean:dist && electron-vite build && electron-builder --win",
|
|
"start": "electron-vite preview",
|
|
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
|
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
|
|
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx}\" \"test/**/*.ts\"",
|
|
"format:check": "prettier --check \"src/**/*.{ts,tsx}\" \"test/**/*.ts\"",
|
|
"test": "vitest run",
|
|
"test:integration": "set AEROFETCH_REAL_DOWNLOAD=1&& vitest run test/real-download.integration.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@electron-toolkit/utils": "^4.0.0",
|
|
"@fluentui/react-components": "^9.74.1",
|
|
"@fluentui/react-icons": "^2.0.330",
|
|
"@tanstack/react-virtual": "^3.14.3",
|
|
"electron-store": "^11.0.2",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"zustand": "^5.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-toolkit/tsconfig": "^2.0.0",
|
|
"@eslint/js": "^9.39.4",
|
|
"@types/node": "^26.0.0",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.2.0",
|
|
"electron": "^42.4.1",
|
|
"electron-builder": "^26.15.3",
|
|
"electron-vite": "^5.0.0",
|
|
"eslint": "^9.39.4",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"globals": "^15.15.0",
|
|
"prettier": "^3.9.3",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.62.1",
|
|
"vite": "^7.3.5",
|
|
"vitest": "^4.1.9"
|
|
}
|
|
}
|