Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 4.57 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 4.57 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
8000
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "ax-grep",
"version": "0.1.2",
"description": "A browser-native semantic accessibility tree extractor that runs without DevTools or CDP.",
"type": "module",
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@10.33.4",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hmmhmmhm/ax-grep.git"
},
"homepage": "https://github.com/hmmhmmhm/ax-grep#readme",
"bugs": {
"url": "https://github.com/hmmhmmhm/ax-grep/issues"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.js"
},
"./static": {
"types": "./dist/static.d.ts",
"import": "./dist/static.js"
}
},
"bin": {
"ax-grep": "./dist/cli.js"
},
"files": [
"dist",
"docs",
"skills",
"skills.sh"
],
"scripts": {
"build": "tsup && tsc --noEmit",
"check": "tsc --noEmit",
"check:processes": "tsx scripts/check-project-processes.ts",
"readiness:audit": "tsx scripts/check-agent-readiness.ts",
"readiness:real-page-smoke": "tsx scripts/check-real-page-smoke.ts",
"readiness:search-smoke": "tsx scripts/check-search-smoke.ts",
"readiness:published-smoke": "tsx scripts/check-published-package-smoke.ts",
"readiness:agent-browser-smoke": "tsx scripts/check-agent-browser-smoke.ts",
"readiness:agent-browser-text-heavy-smoke": "tsx scripts/check-agent-browser-text-heavy-smoke.ts",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"compare": "tsx scripts/compare.ts",
"compare:static": "tsx scripts/compare-static.ts",
"compare:tokens": "tsx scripts/compare-token-cost.ts",
"benchmark:agent-cost": "tsx scripts/benchmark-agent-cost.ts",
"benchmark:library-cost": "node --expose-gc --import tsx scripts/benchmark-library-cost.ts",
"compare:browser:fixture": "tsx scripts/compare-browser-fixture.ts",
"compare:gate": "tsx scripts/check-comparison-gates.ts",
"compare:sample": "tsx scripts/compare.ts https://example.com https://www.wikipedia.org https://developer.mozilla.org/en-US/docs/Web/Accessibility https://news.ycombinator.com https://github.com/features https://libraries.io/npm/typescript https://www.npmjs.com/package/typescript",
"compare:korea": "tsx scripts/compare.ts https://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD https://www.hani.co.kr/ https://www.korea.kr/ https://www.yonhapnewstv.co.kr/",
"compare:static:fixtures": "tsx scripts/compare-static.ts --target-set agent-fixtures",
"compare:static:fixtures:gate": "tsx scripts/check-fixture-static-gate.ts",
"compare:static:agent": "tsx scripts/compare-static.ts --target-set agent-executor",
"compare:static:korea-social": "tsx scripts/compare-static.ts --target-set korea-social",
"compare:tokens:korea-social": "tsx scripts/compare-token-cost.ts --target-set korea-social",
"compare:static:china-japan": "tsx scripts/compare-static.ts --target-set china-japan",
"compare:tokens:china-japan": "tsx scripts/compare-token-cost.ts --target-set china-japan",
"compare:static:diverse": "tsx scripts/compare-static.ts https://www.bbc.com/news https://www.npr.org/2025/03/11/nx-s1-5324543/ntsb-dca-mid-air-collision-american-black-hawk https://www.theguardian.com/international https://www.gov.uk/foreign-travel-advice https://www.nottinghamshire.gov.uk/global-content/how-to-create-accessible-content/how-to-make-web-pages-accessible/checklist-web-page https://books.toscrape.com/ https://old.reddit.com/r/programming/ https://www.reddit.com/r/programming/ https://x.com/NASA https://www.instagram.com/nasa/",
"compare:tokens:diverse": "tsx scripts/compare-token-cost.ts https://www.bbc.com/news https://www.npr.org/2025/03/11/nx-s1-5324543/ntsb-dca-mid-air-collision-american-black-hawk https://www.gov.uk/foreign-travel-advice https://books.toscrape.com/ https://old.reddit.com/r/programming/ https://x.com/NASA https://www.instagram.com/nasa/"
},
"keywords": [
"accessibility",
"a11y",
"semantic-tree",
"webview",
"agent"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^25.0.0",
"@vitest/coverage-v8": "4.1.8",
"agent-browser": "^0.27.0",
"puppeteer": "^24.31.0",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
<
393C
div>
"typescript": "^5.9.3",
"vitest": "^4.1.0"
},
"dependencies": {
"domhandler": "^6.0.1",
"htmlparser2": "^12.0.0",
"js-tiktoken": "^1.0.21"
},
"optionalDependencies": {
"impit": "^0.14.1"
}
}