-
Notifications
You must be signed in to change notification settings - Fork 284
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.47 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 2.47 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
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
103
104
105
106
{
"name": "defuddle",
"version": "0.18.1",
"description": "Extract article content and metadata from web pages.",
"main": "dist/index.js",
"bin": {
"defuddle": "dist/cli.js"
},
"module": "dist/index.js",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/index.d.ts"
],
"full": [
"dist/index.full.d.ts"
],
"node": [
"dist/node.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./full": {
"types": "./dist/index.full.d.ts",
"import": "./dist/index.full.js",
"require": "./dist/index.full.js"
},
"./node": {
"types": "./dist/node.d.ts",
"import": "./dist/node.js"
}
},
"scripts": {
"clean": "rm -rf dist",
"build:types": "tsc --project tsconfig.declarations.json",
"build:js": "webpack",
"build:node": "tsc --project tsconfig.node.json",
"build": "npm run clean && npm run build:types && npm run build:node && npm run build:js",
"prepublishOnly": "npm run build",
"dev:types": "tsc --project tsconfig.declarations.json --watch",
"dev:js": "webpack --watch --mode development",
"dev:node": "tsc --project tsconfig.node.json --watch",
"dev": "npm run clean && npm run build:types && concurrently \"npm run dev:types\" \"npm run dev:node\" \"npm run dev:js\"",
"test": "TZ=UTC vitest run",
"test:jsdom": "TZ=UTC DOM=jsdom vitest run",
"playground": "node playground/server.js"
},
"keywords": [
"readability",
"content-extraction",
"article-extraction",
"web-scraping",
"html-cleanup",
"content-parser",
"article-parser",
"dom"
],
"author": "kepano",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/kepano/defuddle.git"
},
"bugs": {
"url": "https://github.com/kepano/defuddle/issues"
},
"homepage": "https://github.com/kepano/defuddle",
"dependencies": {
"commander": "^12.1.0"
},
"optionalDependencies": {
"linkedom": "^0.18.12",
"mathml-to-latex": "^1.5.0",
"temml": "^0.13.1",
"turndown": "^7.2.0"
},
"devDependencies": {
"@types/jsdom": "^21.1.6",
"@types/node": "^20.19.0",
"@types/turndown": "^5.0.5",
"concurrently": "^8.2.2",
"jsdom": "^24.0.0",
"terser-webpack-plugin": "^5.3.14",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"undici-types": "^5.0.0",
"vitest": "^3.2.4",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
"overrides": {
"vite": "^7.3.2"
},
"files": [
"dist",
"README.md",
"LICENSE"
]
}