illustration-search 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -0
- package/dist/index.cjs +1084 -0
- package/dist/index.d.cts +451 -0
- package/dist/index.d.ts +451 -0
- package/dist/index.js +1031 -0
- package/package.json +81 -0
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "illustration-search",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Text-to-image retrieval over open-media corpora, in the browser: the TypeScript twin of the Python `illustration` package, with licence and attribution first-class on every hit.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
|
|
21
|
+
"codegen": "node scripts/codegen.mjs",
|
|
22
|
+
"test": "vitest run",
|
|
23
|
+
"lint": "tsc --noEmit"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"image-search",
|
|
27
|
+
"stock-photos",
|
|
28
|
+
"openverse",
|
|
29
|
+
"wikimedia-commons",
|
|
30
|
+
"pexels",
|
|
31
|
+
"pixabay",
|
|
32
|
+
"creative-commons",
|
|
33
|
+
"attribution"
|
|
34
|
+
],
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/thorwhalen/illustration.git",
|
|
39
|
+
"directory": "ts"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://github.com/thorwhalen/illustration#readme",
|
|
42
|
+
"bugs": "https://github.com/thorwhalen/illustration/issues",
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"entities": "^8"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@apidevtools/json-schema-ref-parser": "^15.3.5",
|
|
48
|
+
"@types/node": "^25.9.1",
|
|
49
|
+
"json-schema-to-zod": "^2.8.1",
|
|
50
|
+
"tsup": "^8",
|
|
51
|
+
"typescript": "^5",
|
|
52
|
+
"vitest": "^2",
|
|
53
|
+
"zod": "^4"
|
|
54
|
+
},
|
|
55
|
+
"wads": {
|
|
56
|
+
"ci": {
|
|
57
|
+
"subdir": "ts",
|
|
58
|
+
"packageManager": "npm",
|
|
59
|
+
"nodeVersions": [
|
|
60
|
+
"20",
|
|
61
|
+
"22",
|
|
62
|
+
"24"
|
|
63
|
+
],
|
|
64
|
+
"publishNode": "24",
|
|
65
|
+
"lintCommand": "npm run lint --if-present",
|
|
66
|
+
"testCommand": "npm test --if-present",
|
|
67
|
+
"buildCommand": "npm run build --if-present",
|
|
68
|
+
"publish": {
|
|
69
|
+
"enabled": true,
|
|
70
|
+
"marker": "[publish-npm]",
|
|
71
|
+
"registry": "https://registry.npmjs.org",
|
|
72
|
+
"provenance": true,
|
|
73
|
+
"trustedPublishing": true,
|
|
74
|
+
"access": "public"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"peerDependencies": {
|
|
79
|
+
"zod": "^4"
|
|
80
|
+
}
|
|
81
|
+
}
|