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
| {
| "name": "htmlparser2",
| "description": "Fast & forgiving HTML/XML parser",
| "version": "6.1.0",
| "author": "Felix Boehm <me@feedic.com>",
| "funding": [
| "https://github.com/fb55/htmlparser2?sponsor=1",
| {
| "type": "github",
| "url": "https://github.com/sponsors/fb55"
| }
| ],
| "license": "MIT",
| "sideEffects": false,
| "keywords": [
| "html",
| "parser",
| "streams",
| "xml",
| "dom",
| "rss",
| "feed",
| "atom"
| ],
| "repository": {
| "type": "git",
| "url": "git://github.com/fb55/htmlparser2.git"
| },
| "directories": {
| "lib": "lib/"
| },
| "main": "lib/index.js",
| "types": "lib/index.d.ts",
| "files": [
| "lib/**/*"
| ],
| "scripts": {
| "test": "jest --coverage",
| "lint": "npm run lint:es && npm run lint:prettier",
| "lint:es": "eslint src",
| "lint:prettier": "npm run format:prettier:raw -- --check",
| "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 '**/*.{ts,md,json,yml}'",
| "build": "tsc",
| "prepare": "npm run build"
| },
| "dependencies": {
| "domelementtype": "^2.0.1",
| "domhandler": "^4.0.0",
| "domutils": "^2.5.2",
| "entities": "^2.0.0"
| },
| "devDependencies": {
| "@types/jest": "^26.0.0",
| "@types/node": "^14.0.5",
| "@typescript-eslint/eslint-plugin": "^4.9.1",
| "@typescript-eslint/parser": "^4.9.1",
| "eslint": "^7.15.0",
| "eslint-config-prettier": "^8.1.0",
| "jest": "^26.0.1",
| "prettier": "^2.1.1",
| "ts-jest": "^26.0.0",
| "typescript": "^4.0.2"
| },
| "jest": {
| "preset": "ts-jest",
| "testEnvironment": "node"
| },
| "prettier": {
| "tabWidth": 4
| }
| }
|
|