- Replace placeholder with OpenCV.js WASM perspective correction: pick highest-confidence rectangle, compute homography, fold weighted scale corrections from secondary datums, single warpPerspective - All units now mm throughout (no cm conversion) - Simplified datum creation: two buttons (+ Rectangle / + Line) with preset chips, auto-numbered labels (Line 1, Rectangle 2, etc.) - Dimensions default to 0, user must input manually; Next button disabled until all datums have valid dimensions with tooltip hint - Fix image preview (keep object URL alive), fix canvas disappearing on breakpoint switch (single instance + ResizeObserver re-fit) - Mobile responsive: bottom sheet for datum panel, full-width canvas - Spinner on result screen during processing - Stricter ESLint config, updated Prettier to 4-space/no-semicolons Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"name": "skwik",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
"preview": "vite preview",
|
|
"type-check": "vue-tsc --noEmit",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write \"src/**/*.{ts,vue,css}\"",
|
|
"knip": "knip"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.2.2",
|
|
"@types/node": "^25.6.0",
|
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
"eslint": "^10.2.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-vue": "^10.8.0",
|
|
"knip": "^6.4.1",
|
|
"prettier": "^3.8.2",
|
|
"tailwindcss": "^4.2.2",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "^8.58.2",
|
|
"vite": "^8.0.4",
|
|
"vue-eslint-parser": "^10.4.0",
|
|
"vue-tsc": "^3.2.6"
|
|
},
|
|
"dependencies": {
|
|
"@techstark/opencv-js": "4.12.0-release.1",
|
|
"@vueuse/core": "^14.2.1",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"exifr": "^7.1.3",
|
|
"heic-to": "^1.4.2",
|
|
"konva": "^10.2.5",
|
|
"lucide-vue-next": "^1.0.0",
|
|
"nanoid": "^5.1.7",
|
|
"pinia": "^3.0.4",
|
|
"reka-ui": "^2.9.6",
|
|
"shadcn-vue": "^2.6.2",
|
|
"tailwind-merge": "^3.5.0",
|
|
"vue": "^3.5.32",
|
|
"vue-konva": "^3.4.0"
|
|
}
|
|
}
|