-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.8 KB
/
Copy pathpackage.json
File metadata and controls
41 lines (41 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "confusable-vision",
"version": "0.1.0",
"private": true,
"type": "module",
"license": "MIT",
"description": "Offline tool that renders Unicode confusable character pairs across multiple fonts, measures visual similarity using SSIM and pHash, and outputs scored JSON artifacts.",
"author": "Paul Wood FRSA (@paultendo)",
"scripts": {
"render-pairs": "npx tsx scripts/render-pairs.ts",
"render-pairs:save": "npx tsx scripts/render-pairs.ts --save-renders",
"fetch-confusables": "npx tsx scripts/fetch-confusables.ts",
"build-index": "npx tsx scripts/build-index.ts",
"score-all-pairs": "npx tsx scripts/score-all-pairs.ts",
"query-font": "npx tsx scripts/query-font.ts",
"raycast-spike": "npx tsx scripts/raycast-spike.ts",
"sdf-spike": "npx tsx scripts/sdf-spike.ts",
"validate-raycast-sdf": "npx tsx scripts/validate-raycast-sdf.ts",
"score-multichar-sdf": "node --max-old-space-size=8192 --import tsx/esm scripts/score-multichar-sdf.ts",
"discover-multichar-sdf": "node --max-old-space-size=8192 --import tsx/esm scripts/discover-multichar-sdf.ts",
"build-signature-bank": "node --max-old-space-size=8192 --import tsx/esm scripts/build-signature-bank.ts",
"score-singlechar-sdf": "node --max-old-space-size=8192 --import tsx/esm scripts/score-singlechar-sdf.ts",
"discover-singlechar-sdf": "node --max-old-space-size=8192 --import tsx/esm scripts/discover-singlechar-sdf.ts"
},
"dependencies": {
"canvas": "^3.1.0",
"fast-png": "^8.0.0",
"fontkit": "^2.0.4",
"sharp": "^0.34.5",
"ssim-grey": "file:../ssim-grey",
"ssim.js": "^3.5.0"
},
"devDependencies": {
"@anthropic-ai/sdk": "^0.78.0",
"@types/node": "^20.0.0",
"dotenv": "^17.3.1",
"openai": "^6.25.0",
"tsx": "^4.21.0",
"typescript": "^5.7.0"
}
}