-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.48 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 3.48 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
117
118
119
120
121
122
123
124
125
126
{
"name": "html-dom-parser",
"version": "7.0.1",
"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": "run-s clean build:*",
"build:cjs": "scripts/build.sh --cjs",
"build:esm": "scripts/build.sh --esm",
"build:umd": "scripts/build.sh --umd",
"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",
"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:esm && node --test test/esm/*",
"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": {
"@commitlint/cli": "20.5.0",
"@commitlint/config-conventional": "20.5.0",
"@eslint/compat": "2.0.5",
"@eslint/js": "10.0.1",
"@rollup/plugin-alias": "6.0.0",
"@rollup/plugin-commonjs": "29.0.2",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-terser": "1.0.0",
"@rollup/plugin-typescript": "12.3.0",
"@size-limit/preset-big-lib": "12.0.1",
"@types/html-minifier": "4.0.6",
"@types/jscodeshift": "17.3.0",
"@types/node": "25.6.0",
"@vitest/browser": "4.1.4",
"@vitest/browser-playwright": "4.1.4",
"@vitest/coverage-v8": "4.1.4",
"decycle": "1.0.0",
"eslint": "10.2.0",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-simple-import-sort": "13.0.0",
"eslint-plugin-tsdoc": "0.5.2",
"globals": "17.4.0",
"html-minifier": "4.0.0",
"husky": "9.1.7",
"jscodeshift": "17.3.0",
"jsdom": "29.0.2",
"lint-staged": "16.4.0",
"npm-run-all2": "8.0.4",
"playwright": "1.59.1",
"prettier": "3.8.2",
"publint": "0.3.18",
"rollup": "4.60.1",
"size-limit": "12.0.1",
"ts-node": "10.9.2",
"typescript": "5.9.3",
"typescript-eslint": "8.58.1",
"vitest": "4.1.4"
},
"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"
}