-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.7 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.7 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "extrait",
"version": "0.6.1",
"repository": {
"type": "git",
"url": "git+https://github.com/tterrasson/extrait.git"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"jsonrepair": "^3.13.3",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/bun": "^1.3.11",
"@types/sharp": "^0.32.0",
"typescript": "^5.9.3"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
},
"bugs": {
"url": "https://github.com/tterrasson/extrait/issues"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"license": "MIT",
"overrides": {
"zod": "^4.3.6"
},
"peerDependencies": {
"sharp": "^0.34.5"
},
"peerDependenciesMeta": {
"sharp": {
"optional": true
}
},
"resolutions": {
"zod": "^4.3.6"
},
"scripts": {
"dev": "bun run examples/runner.ts",
"build": "bun run build:esm && bun run build:cjs",
"build:esm": "bun build ./src/index.ts --outfile ./dist/index.js --target node --format esm --packages external",
"build:cjs": "bun build ./src/index.ts --outfile ./dist/index.cjs --target node --format cjs --packages external",
"build:types": "bunx tsc -p tsconfig.build.json",
"lint": "bunx tsc -p tsconfig.lint.json",
"prepublishOnly": "bun run lint && bun run build && bun run build:types",
"test": "bun test tests/ --reporter=dots --only-failures",
"typecheck": "bunx tsc --noEmit",
"pack": "bun run build:types && bun run build && npm pack"
},
"type": "module",
"types": "./dist/index.d.ts"
}