forked from mozilla/readability
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.52 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.52 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
{
"name": "@mizchi/readability",
"version": "0.7.6",
"type": "module",
"description": "A standalone version of the readability library used for Firefox Reader View.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsdown",
"build:dxt": "node scripts/build-dxt.js",
"lint": "prettier --check .",
"test": "vitest --run src --exclude src/test/nav-links.test.ts --exclude src/test/nav-hierarchy-snapshot.test.ts --exclude src/detect/header.test.ts --exclude src/format/markdown.test.ts --exclude src/test/readability-core.test.ts --exclude src/test/readability-compatibility.test.ts",
"test:original": "vitest --run test --exclude test/aria.test.ts --exclude test/readability.test.ts --exclude test/isProbablyReaderable.test.ts --exclude src/test/nav-links.test.ts --exclude src/test/nav-hierarchy-snapshot.test.ts --exclude src/detect/header.test.ts --exclude src/format/markdown.test.ts --exclude src/test/readability-core.test.ts --exclude src/test/readability-compatibility.test.ts",
"test:coverage": "vitest --run --coverage src --exclude src/test/nav-links.test.ts --exclude src/test/nav-hierarchy-snapshot.test.ts --exclude src/detect/header.test.ts --exclude src/format/markdown.test.ts --exclude src/test/readability-core.test.ts --exclude src/test/readability-compatibility.test.ts",
"test:coverage:all": "vitest --run --coverage src",
"coverage": "npm run test:coverage",
"generate-testcase": "node test/generate-testcase.js",
"release": "echo wip # release-it"
},
"bin": {
"readability": "./cli.js"
},
"repository": {
"type": "git",
"url": "https://github.com/mizchi/readability"
},
"author": "mizchi",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/mizchi/readability/issues"
},
"engines": {
"node": ">=22.0.0"
},
"homepage": "https://github.com/mizchi/readability",
"devDependencies": {
"@types/jsdom": "^21.1.7",
"@types/node": "^22.13.13",
"@vitest/coverage-v8": "^3.2.4",
"esbuild": "^0.25.1",
"html-to-md": "^0.8.6",
"htmltidy2": "1.0.0",
"js-beautify": "^1.15.4",
"jsdom": "20.0.2",
"prettier": "^3.5.3",
"puppeteer-core": "^24.4.0",
"release-it": "17.0.1",
"tsdown": "^0.12.9",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"vitest": "^3.2.4",
"xml-name-validator": "^5.0.0"
},
"files": [
"cli.js",
"src",
"dist"
],
"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.1",
"htmlparser2": "^10.0.0",
"zod": "^3.25.57"
}
}