magpie-html 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "magpie-html",
3
+ "version": "0.1.1",
4
+ "description": "Modern TypeScript library for scraping web content with isomorphic support",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ }
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "README.md",
24
+ "LICENSE"
25
+ ],
26
+ "scripts": {
27
+ "build": "tsup",
28
+ "dev": "tsx src/index.ts",
29
+ "test": "node --import tsx --test $(find src -name '*.test.ts' -type f)",
30
+ "test:watch": "node --import tsx --test --watch $(find src -name '*.test.ts' -type f)",
31
+ "lint": "biome check .",
32
+ "lint:fix": "biome check --write .",
33
+ "format": "biome format --write .",
34
+ "check": "npm run typecheck && npm run lint",
35
+ "prepublishOnly": "npm run check && npm run build",
36
+ "typecheck": "tsc --noEmit",
37
+ "docs": "typedoc",
38
+ "docs:serve": "npx serve docs",
39
+ "release:patch": "npm run check && npm version patch -m 'Release v%s' && git push && git push --tags",
40
+ "release:minor": "npm run check && npm version minor -m 'Release v%s' && git push && git push --tags",
41
+ "release:major": "npm run check && npm version major -m 'Release v%s' && git push && git push --tags"
42
+ },
43
+ "keywords": [
44
+ "scraping",
45
+ "html",
46
+ "web-scraping",
47
+ "parser",
48
+ "isomorphic",
49
+ "typescript"
50
+ ],
51
+ "author": {
52
+ "name": "Anonyfox",
53
+ "email": "max@anonyfox.com",
54
+ "url": "https://anonyfox.com"
55
+ },
56
+ "license": "MIT",
57
+ "devDependencies": {
58
+ "@biomejs/biome": "^2.3.9",
59
+ "@types/node": "^22.10.2",
60
+ "tsup": "^8.3.5",
61
+ "tsx": "^4.19.2",
62
+ "typedoc": "^0.28.15",
63
+ "typescript": "^5.7.2"
64
+ },
65
+ "engines": {
66
+ "node": ">=18.0.0"
67
+ },
68
+ "repository": {
69
+ "type": "git",
70
+ "url": "https://github.com/Anonyfox/magpie-html.git"
71
+ },
72
+ "bugs": {
73
+ "url": "https://github.com/Anonyfox/magpie-html/issues"
74
+ },
75
+ "homepage": "https://github.com/Anonyfox/magpie-html#readme",
76
+ "dependencies": {
77
+ "@mozilla/readability": "^0.6.0",
78
+ "linkedom": "^0.18.12"
79
+ }
80
+ }