-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
117 lines (117 loc) · 3.3 KB
/
package.json
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
{
"name": "html-dom-parser",
"version": "5.0.13",
"description": "HTML to DOM parser.",
"author": "Mark <[email protected]>",
"main": "./lib/index.js",
"module": "./esm/index.mjs",
"exports": {
".": {
"import": "./esm/index.mjs",
"require": "./lib/index.js"
},
"./lib/client/*": {
"import": "./esm/client/*.mjs",
"require": "./lib/client/*.js"
},
"./lib/server/*": {
"import": "./esm/server/*.mjs",
"require": "./lib/server/*.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "run-s build:*",
"build:cjs": "tsc",
"build:esm": "awk '!/sourceMappingURL/' lib/types.d.ts > esm/types.ts",
"build:umd": "rollup --config --failAfterWarnings",
"clean": "rm -rf .nyc_output coverage dist lib",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:tsc": "tsc --noEmit",
"prepare": "husky",
"prepublishOnly": "run-s lint lint:tsc test:server clean build",
"size-limit": "size-limit",
"test": "run-s test:server test:client",
"test:client": "npm run test:client:watch -- --single-run",
"test:client:build": "NODE_ENV=test npm run build",
"test:client:watch": "npm run test:client:build && karma start",
"test:esm": "npm run build:cjs && node --test test/esm",
"test:server": "npm run build:cjs && nyc mocha"
},
"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": "5.0.3",
"htmlparser2": "10.0.0"
},
"devDependencies": {
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@eslint/compat": "1.2.4",
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.17.0",
"@rollup/plugin-alias": "5.1.1",
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.1.2",
"@size-limit/preset-big-lib": "11.1.6",
"@types/chai": "4.3.16",
"@types/estree": "1.0.6",
"@types/mocha": "10.0.10",
"@types/node": "22.10.5",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/parser": "8.19.1",
"chai": "4.5.0",
"eslint": "9.17.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"globals": "15.14.0",
"html-minifier": "4.0.0",
"husky": "9.1.7",
"jsdomify": "3.1.1",
"karma": "6.4.4",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.2.0",
"karma-commonjs": "1.0.0",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"lint-staged": "15.3.0",
"mocha": "11.0.1",
"npm-run-all": "4.1.5",
"nyc": "17.1.0",
"prettier": "3.4.2",
"rollup": "4.30.1",
"size-limit": "11.1.6",
"ts-node": "10.9.2",
"typescript": "5.7.2"
},
"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"
}