← Files DefuddleARCHIVED FILE

skills/defuddle-web-content/references/source/package.json

2.59 KB · Oct 5, 2026 · 18:35 UTC

↓ Download file

{
	"name": "defuddle",
	"version": "0.19.4",
	"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",
		"lint:innerhtml": "node scripts/check-no-innerhtml.mjs",
		"size": "node scripts/check-bundle-size.mjs",
		"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",
		"mathml-to-latex": "^1.8.0"
	},
	"optionalDependencies": {
		"linkedom": "^0.18.12",
		"temml": "^0.13.3",
		"turndown": "^7.2.0"
	},
	"devDependencies": {
		"@types/jsdom": "^21.1.6",
		"@types/node": "^24.13.5",
		"@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": "^5.0.1",
		"webpack": "^5.90.3",
		"webpack-cli": "^5.1.4"
	},
	"overrides": {
		"vite": "^7.3.2",
		"esbuild": "^0.28.1"
	},
	"files": [
		"dist",
		"README.md",
		"LICENSE"
	]
}

SHA-256: 7c49ad9a81690530dfb8a9e5ca85e3f4c1d642ca9458c6be63566edc8be0cebe