-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 2.07 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 2.07 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
{
"name": "@webfuse-com/d2snap",
"version": "1.3.1",
"author": "Thassilo M. Schiepanski",
"type": "module",
"main": "./dist/api.js",
"scripts": {
"prepare": "husky",
"build:lib": "npx esbuild ./src/api.ts --bundle --outfile=./dist/api.js --platform=node --packages=external --format=esm --target=es2022",
"build:lib:watch": "npm run build:lib -- --watch",
"build:browser": "npx esbuild ./src/api.browser.ts --bundle --outfile=./dist/api.browser.js",
"build:browser:watch": "npm run build:browser -- --watch",
"build": "npm run build:lib && npm run build:browser",
"test": "node --experimental-strip-types ./test/test.js",
"benchmark:dom": "node ./benchmark/benchmark dom 100",
"benchmark:string": "node ./benchmark/benchmark string 100",
"benchmark": "npm run benchmark:dom && npm run benchmark:string",
"benchmark:inv": "npm run benchmark:string && npm run benchmark:dom",
"snapshots:create": "node ./snapshots/create.js",
"eval-util": "node --no-warnings --env-file=.env",
"eval:gui": "npm run eval-util -- ./eval/subjects/gui.js",
"eval:gui:single": "npm run eval:gui -- --split 1 --verbose",
"eval:dom": "npm run eval-util -- ./eval/subjects/dom.js",
"eval:dom:single": "npm run eval:dom -- --split 1 --verbose",
"eval:D2Snap": "npm run eval-util -- ./eval/subjects/D2Snap.js",
"eval:D2Snap:single": "npm run eval:D2Snap -- --split 1 --verbose",
"eval:bu": "npm run eval-util -- ./eval/subjects/bu.js",
"eval:bu:single": "npm run eval:bu -- --split 1 --verbose",
"eval": "npm run eval:gui && npm run eval:dom && npm run eval:bu && npm run eval:D2Snap",
"summarize": "node --no-warnings ./eval/summarize.js",
"demo": "node ./demo/demo.js"
},
"devDependencies": {
"@anthropic-ai/sdk": "^0.55.0",
"esbuild": "^0.25.4",
"husky": "^9.1.7",
"jsdom": "^22.1.0",
"openai": "^5.6.0",
"playwright": "^1.54.1",
"sharp": "^0.34.3",
"zod": "^3.25.67",
"zod-to-json-schema": "^3.24.6"
},
"dependencies": {
"turndown": "^7.2.0",
"turndown-plugin-gfm": "^1.0.2"
}
}