-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.13 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 3.13 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
107
108
109
110
111
112
113
114
115
116
{
"name": "html-dom-parser",
"version": "8.0.0",
"description": "HTML to DOM parser.",
"author": "Mark <mark@remarkablemark.org> (https://remarkabl.org)",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/remarkablemark"
}
],
"main": "./lib/index.js",
"module": "./esm/index.mjs",
"exports": {
".": {
"browser": {
"require": "./lib/client/html-to-dom.js",
"default": "./esm/client/html-to-dom.mjs"
},
"default": {
"require": "./lib/index.js",
"default": "./esm/index.mjs"
}
},
"./lib/client/*": {
"require": "./lib/client/*.js",
"default": "./esm/client/*.mjs"
},
"./lib/server/*": {
"require": "./lib/server/*.js",
"default": "./esm/server/*.mjs"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "npm run clean && tsdown",
"clean": "rm -rf coverage dist esm lib",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:package": "publint",
"lint:tsc": "tsc --project tsconfig.test.json",
"lint:types": "npx @arethetypeswrong/cli --pack",
"prepare": "husky",
"prepublishOnly": "run-s build lint lint:tsc lint:package",
"size-limit": "size-limit",
"test": "vitest run __tests__",
"test:browser": "npm test -- --config=vitest.config.browser.mts --browser=chromium",
"test:ci": "CI=true npm test -- --color",
"test:esm": "npm run build && node --test __tests__/esm/*.mjs",
"test:watch": "vitest __tests__ --coverage.enabled=false"
},
"repository": {
"type": "git",
"url": "git+https://github.com/remarkablemark/html-dom-parser.git"
},
"bugs": {
"url": "https://github.com/remarkablemark/html-dom-parser/issues"
},
"keywords": [
"html-dom-parser",
"html",
"dom",
"parser",
"htmlparser2",
"pojo"
],
"dependencies": {
"domhandler": "6.0.1",
"htmlparser2": "12.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.2",
"@commitlint/cli": "21.0.1",
"@commitlint/config-conventional": "21.0.1",
"@eslint/js": "10.0.1",
"@size-limit/preset-big-lib": "12.1.0",
"@types/html-minifier": "4.0.6",
"@types/node": "25.9.1",
"@vitest/browser": "4.1.7",
"@vitest/browser-playwright": "4.1.7",
"@vitest/coverage-v8": "4.1.7",
"decycle": "1.0.0",
"eslint": "10.4.0",
"eslint-plugin-prettier": "5.5.6",
"eslint-plugin-simple-import-sort": "13.0.0",
"eslint-plugin-tsdoc": "0.5.2",
"globals": "17.6.0",
"html-minifier": "4.0.0",
"husky": "9.1.7",
"jsdom": "29.1.1",
"lint-staged": "17.0.5",
"npm-run-all2": "9.0.1",
"playwright": "1.60.0",
"prettier": "3.8.3",
"publint": "0.3.21",
"size-limit": "12.1.0",
"tsdown": "0.22.0",
"typescript": "6.0.3",
"typescript-eslint": "8.60.0",
"vitest": "4.1.7"
},
"files": [
"/dist",
"/esm",
"/lib",
"/src"
],
"browser": {
"./lib/index.js": "./lib/client/html-to-dom.js",
"./esm/index.mjs": "./esm/client/html-to-dom.mjs"
},
"react-native": {
"./lib/index.js": "./lib/server/html-to-dom.js"
},
"license": "MIT"
}