2026-04-28 15:47:57 -04:00
|
|
|
{
|
|
|
|
|
"name": "asciinator",
|
|
|
|
|
"version": "0.0.0",
|
|
|
|
|
"private": true,
|
|
|
|
|
"type": "module",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "vite",
|
|
|
|
|
"build": "vite build",
|
|
|
|
|
"preview": "vite preview",
|
|
|
|
|
"test:unit": "vitest",
|
|
|
|
|
"test:e2e": "playwright test",
|
|
|
|
|
"server": "node server/index.js",
|
|
|
|
|
"server:dev": "node --watch server/index.js",
|
|
|
|
|
"lint": "run-s lint:*",
|
|
|
|
|
"lint:oxlint": "oxlint . --fix",
|
|
|
|
|
"lint:eslint": "eslint . --fix --cache",
|
|
|
|
|
"format": "prettier --write --experimental-cli src/"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@fastify/cors": "^11.2.0",
|
|
|
|
|
"@fastify/multipart": "^10.0.0",
|
feat: full GUI, test API, auto-convert, aspect-ratio sliders
- Auto-convert on image load (0ms) and flag change (400ms debounce)
- SizeControl: linked width/height sliders with aspect-ratio lock and 0.5 font correction factor
- Full flag exposure for all 4 tools (chafa, jp2a, ascii-image-converter, img2txt)
- ChafaOptions: symbols/fill dropdowns, dither controls, work/threshold/font-ratio sliders, format select, toggles
- Jp2aOptions: color-depth, RGB weight sliders, edge controls, 8 toggles
- ImgTxtOptions: dither select with valid libcaca values, gamma slider
- OutputDisplay: ansi-to-html rendering for colored chafa output
- ShellBridge: abort-previous pattern, conversion-start/end lifecycle events
- Test API (ENABLE_TEST_API=true): /test/health, /test/convert, /test/flags/:tool, /test/imagemagick
- buildArgs: space-separated args (not = format); full schemas in SCHEMAS export
- runChafa: width/height destructured and combined into --size WxH
- Port changed to 3050; Vite on 0.0.0.0 with allowedHosts for production domain
- 98 unit tests passing across 12 test files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 06:29:45 -04:00
|
|
|
"ansi-to-html": "^0.7.2",
|
2026-04-28 15:47:57 -04:00
|
|
|
"execa": "^9.6.1",
|
|
|
|
|
"fastify": "^5.8.5",
|
|
|
|
|
"vue": "^3.5.32"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@eslint/js": "^10.0.1",
|
|
|
|
|
"@playwright/test": "^1.59.1",
|
|
|
|
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
|
|
|
"@vitest/eslint-plugin": "^1.6.16",
|
|
|
|
|
"@vue/test-utils": "^2.4.6",
|
|
|
|
|
"autoprefixer": "^10.5.0",
|
|
|
|
|
"eslint": "^10.2.1",
|
|
|
|
|
"eslint-config-prettier": "^10.1.8",
|
|
|
|
|
"eslint-plugin-oxlint": "~1.60.0",
|
|
|
|
|
"eslint-plugin-playwright": "^2.10.1",
|
|
|
|
|
"eslint-plugin-vue": "~10.8.0",
|
|
|
|
|
"globals": "^17.5.0",
|
|
|
|
|
"jsdom": "^29.0.2",
|
|
|
|
|
"npm-run-all2": "^8.0.4",
|
|
|
|
|
"oxlint": "~1.60.0",
|
|
|
|
|
"postcss": "^8.5.12",
|
|
|
|
|
"prettier": "3.8.3",
|
|
|
|
|
"tailwindcss": "^3.4.19",
|
|
|
|
|
"vite": "^8.0.8",
|
|
|
|
|
"vite-plugin-vue-devtools": "^8.1.1",
|
|
|
|
|
"vitest": "^4.1.4"
|
|
|
|
|
},
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
|
|
|
}
|
|
|
|
|
}
|