-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.67 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 2.67 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
{
"name": "zeed-dom",
"type": "module",
"version": "0.18.0",
"description": "🌱 Lightweight offline DOM",
"author": {
"name": "Dirk Holtwick",
"email": "dirk.holtwick@gmail.com",
"url": "https://holtwick.de"
},
"license": "MIT",
"funding": {
"type": "GitHub Sponsors ❤",
"url": "https://github.com/sponsors/holtwick"
},
"homepage": "https://github.com/holtwick/zeed-dom",
"repository": {
"type": "git",
"url": "https://github.com/holtwick/zeed-dom.git"
},
"bugs": {
"url": "https://github.com/holtwick/zeed-dom/issues"
},
"exports": {
".": {
"types": "./dist/index.node.d.ts",
"browser": "./dist/index.browser.js",
"require": "./dist/index.browser.cjs",
"node": "./dist/index.node.js",
"default": "./dist/index.browser.js"
},
"./jsx-runtime": {
"types": "./jsx-runtime/index.d.ts",
"browser": "./jsx-runtime/index.js",
"import": "./jsx-runtime/index.js",
"require": "./jsx-runtime/index.cjs"
},
"./jsx-dev-runtime": {
"types": "./jsx-runtime/index.d.ts",
"browser": "./jsx-runtime/index.js",
"import": "./jsx-runtime/index.js",
"require": "./jsx-runtime/index.cjs"
}
},
"main": "dist/index.node.cjs",
"module": "dist/index.browser.js",
"types": "dist/index.node.d.ts",
"typings": "dist/index.node.d.ts",
"files": [
"dist",
"jsx-runtime"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run clean && npm run build:tsup",
"build:docs": "typedoc src/index.ts",
"build:tsup": "tsup src/index.browser.ts src/index.node.ts src/jsx-runtime.ts --dts --sourcemap --format esm,cjs",
"check": "tsc --noEmit -p tsconfig.json",
"clean": "rm -rf dist",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"perf": "tsx test/files-bench.ts",
"perf:files": "tsx test/files-bench.ts",
"perf:parser": "tsx test/htmlparser-bench.ts",
"prepublishOnly": "npm test && npm run build",
"profile:parser": "tsx --cpu-prof test/htmlparser-bench.ts",
"inspect:parser": "tsx --inspect-brk test/htmlparser-bench.ts",
"start": "npm run watch",
"test": "vitest src --coverage --globals --run",
"watch": "npm run build:tsup -- --watch"
},
"dependencies": {
"css-what": "^7.0.0",
"entities": "^6.0.1"
},
"devDependencies": {
"@antfu/eslint-config": "^4.17.0",
"@antfu/ni": "^25.0.0",
"@types/node": "^24.0.15",
"@vitest/coverage-v8": "^3.2.4",
"c8": "^10.1.3",
"eslint": "^9.31.0",
"tsup": "^8.5.0",
"tsx": "^4.20.3",
"typedoc": "^0.28.7",
"typescript": "^5.8.3",
"vite": "^7.0.5",
"vitest": "^3.2.4",
"zeed": "^1.0.1"
}
}