-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 3.03 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 3.03 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
{
"name": "isomorphic-htmlparser",
"version": "1.5.1",
"description": "HTML parser that works both in JavaScript and NodeJS with TypeScript support",
"keywords": [
"htmlparser",
"html",
"parser",
"typescript",
"isomorphic",
"cheerio"
],
"type": "module",
"main": "./dist/node/isomorphic-htmlparser.cjs",
"browser": "./dist/browser/isomorphic-htmlparser.mjs",
"types": "./dist/index.d.ts",
"module": "./dist/node/isomorphic-htmlparser.mjs",
"unpkg": "./dist/browser/isomorphic-htmlparser.umd.js",
"exports": {
"types": "./dist/index.d.ts",
"browser": "./dist/browser/isomorphic-htmlparser.mjs",
"umd": "./dist/browser/isomorphic-htmlparser.umd.js",
"import": "./dist/node/isomorphic-htmlparser.mjs",
"require": "./dist/node/isomorphic-htmlparser.cjs"
},
"scripts": {
"test": "jest spec",
"build": "npm run build:node && npm run build:browser && npm run build:umd && npm run build:docs",
"build:node": "microbundle build ./src/node/index.ts -f esm,cjs --target node -o dist/node",
"build:browser": "microbundle build ./src/browser/index.ts --target web -o dist/browser",
"build:umd": "microbundle build ./src/browser/index.ts -f umd --external none -o dist/browser",
"build:docs": "typedoc src/index.ts && cp -r ./demo docs/demo && cp -r ./dist docs/dist",
"prettify": "prettier --write \"**/*.{ts,json,md}\""
},
"files": [
"dist/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/KiraLT/isomorphic-htmlparser.git"
},
"author": "KiraLT",
"license": "MIT",
"bugs": {
"url": "https://github.com/KiraLT/isomorphic-htmlparser/issues"
},
"homepage": "https://github.com/KiraLT/isomorphic-htmlparser#readme",
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.12.0",
"jest": "^29.7.0",
"microbundle": "^0.15.1",
"prettier": "^3.4.2",
"ts-jest": "^29.2.5",
"typedoc": "^0.27.6",
"typescript": "5.7.3"
},
"jest": {
"preset": "ts-jest"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"dependencies": {
"cheerio": "^1.0.0",
"common-stuff": "^1.11.2",
"dayjs": "^1.11.19",
"domhandler": "^5.0.3"
}
}