style: standardize UI across tools, optimize QR layout, and configure Husky/ESLint

This commit is contained in:
2026-03-03 13:39:56 +00:00
parent b1cc8ab5a1
commit c5293ca9fe
13 changed files with 1220 additions and 582 deletions

View File

@@ -7,8 +7,10 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint .",
"pack-extension": "node scripts/pack_crx.js",
"postinstall": "mkdir -p public/wasm && cp node_modules/zxing-wasm/dist/reader/zxing_reader.wasm public/wasm/"
"postinstall": "mkdir -p public/wasm && cp node_modules/zxing-wasm/dist/reader/zxing_reader.wasm public/wasm/",
"prepare": "husky"
},
"dependencies": {
"barcode-detector": "^3.1.0",
@@ -19,7 +21,12 @@
"vue-router": "^5.0.3"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@vitejs/plugin-vue": "^6.0.2",
"eslint": "^10.0.2",
"eslint-plugin-vue": "^10.8.0",
"globals": "^17.4.0",
"husky": "^9.1.7",
"vite": "^7.3.1",
"vite-plugin-pwa": "^1.2.0"
}