📂 Add new directory for image-scale-cli tool

This commit is contained in:
2026-04-11 11:10:53 +08:00
parent 82e293f4c2
commit 9454512b7b
60 changed files with 3186 additions and 0 deletions

23
image-scale-cli/deno.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "scale-image-fixer",
"version": "1.0.0",
"license": "MIT",
"exports": "./cli.ts",
"tasks": {
"start": "deno run --allow-read --allow-write --allow-env --allow-ffi cli.ts",
"test": "deno test --allow-read --allow-write --allow-ffi --allow-run --allow-env --no-check",
"dev": "deno run --allow-read --allow-write --watch cli.ts",
"gen:test-images": "deno run --allow-read --allow-write --allow-env scripts/generate-test-images.ts"
},
"compilerOptions": {
"strict": true,
"lib": ["deno.window"]
},
"imports": {
"@std/path": "jsr:@std/path@1",
"@std/fs": "jsr:@std/fs@1",
"@std/cli": "jsr:@std/cli@1",
"@std/assert": "jsr:@std/assert@1",
"sharp": "npm:sharp@^0.33.0"
}
}