-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
package.json
178 lines (178 loc) · 4.73 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "cheerio",
"version": "1.0.0",
"description": "The fast, flexible & elegant library for parsing and manipulating HTML and XML.",
"keywords": [
"htmlparser",
"jquery",
"selector",
"scraper",
"parser",
"dom",
"xml",
"html"
],
"homepage": "https://cheerio.js.org/",
"bugs": {
"url": "https://github.com/cheeriojs/cheerio/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/cheeriojs/cheerio.git"
},
"funding": "https://github.com/cheeriojs/cheerio?sponsor=1",
"license": "MIT",
"author": "Matt Mueller <[email protected]>",
"maintainers": [
"Felix Boehm <[email protected]>"
],
"type": "module",
"exports": {
".": {
"browser": {
"types": "./dist/browser/index.d.ts",
"default": "./dist/browser/index.js"
},
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./slim": {
"browser": {
"types": "./dist/browser/slim.d.ts",
"default": "./dist/browser/slim.js"
},
"import": {
"types": "./dist/esm/slim.d.ts",
"default": "./dist/esm/slim.js"
},
"require": {
"types": "./dist/commonjs/slim.d.ts",
"default": "./dist/commonjs/slim.js"
}
},
"./utils": {
"browser": {
"types": "./dist/browser/utils.d.ts",
"default": "./dist/browser/utils.js"
},
"import": {
"types": "./dist/esm/utils.d.ts",
"default": "./dist/esm/utils.js"
},
"require": {
"types": "./dist/commonjs/utils.d.ts",
"default": "./dist/commonjs/utils.js"
}
},
"./package.json": "./package.json"
},
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"browser": "./dist/browser/index.js",
"types": "./dist/commonjs/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"benchmark": "node --import=tsx benchmark/benchmark.ts",
"build": "tshy",
"format": "npm run format:es && npm run format:prettier",
"format:es": "npm run lint:es -- --fix",
"format:prettier": "npm run format:prettier:raw -- --write",
"format:prettier:raw": "prettier \"**/*.{{m,c,}{j,t}s{x,},md{x,},json,y{a,}ml}\" --ignore-path .gitignore",
"lint": "npm run lint:es && npm run lint:prettier && npm run lint:ts",
"lint:es": "eslint --report-unused-disable-directives --ignore-path .gitignore .",
"lint:prettier": "npm run format:prettier:raw -- --check",
"lint:ts": "tsc --noEmit",
"prepare": "husky",
"prepublishOnly": "npm run build",
"test": "npm run lint && npm run test:vi",
"test:vi": "vitest run",
"update-sponsors": "tsx scripts/fetch-sponsors.mts"
},
"lint-staged": {
"*.js": [
"prettier --write",
"npm run lint:es -- --fix"
],
"*.{json,md,ts,yml}": [
"prettier --write"
]
},
"prettier": {
"plugins": [
"./node_modules/prettier-plugin-jsdoc/dist/index.js"
],
"proseWrap": "always",
"singleQuote": true,
"tabWidth": 2,
"tsdoc": true
},
"dependencies": {
"cheerio-select": "^2.1.0",
"dom-serializer": "^2.0.0",
"domhandler": "^5.0.3",
"domutils": "^3.2.1",
"encoding-sniffer": "^0.2.0",
"htmlparser2": "^10.0.0",
"parse5": "^7.2.1",
"parse5-htmlparser2-tree-adapter": "^7.1.0",
"parse5-parser-stream": "^7.1.2",
"undici": "^7.2.0",
"whatwg-mimetype": "^4.0.0"
},
"devDependencies": {
"@imgix/js-core": "^3.8.0",
"@octokit/graphql": "^8.1.1",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.10.2",
"@types/whatwg-mimetype": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"@vitest/coverage-v8": "^2.1.8",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^50.6.1",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-unicorn": "^56.0.1",
"eslint-plugin-vitest": "^0.5.4",
"husky": "^9.1.7",
"jquery": "^3.7.1",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"prettier-plugin-jsdoc": "^1.3.0",
"tinybench": "^3.1.0",
"tshy": "^3.0.2",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"engines": {
"node": ">=18.17"
},
"tshy": {
"esmDialects": [
"browser"
],
"exports": {
".": "./src/index.ts",
"./slim": "./src/slim.ts",
"./utils": "./src/utils.ts",
"./package.json": "./package.json"
},
"exclude": [
"**/*.spec.ts",
"**/__fixtures__/*",
"**/__tests__/*",
"**/__snapshots__/*"
]
}
}