1 | {
|
2 | "name": "htmlparser2",
|
3 | "description": "Fast & forgiving HTML/XML parser",
|
4 | "version": "7.1.2",
|
5 | "author": "Felix Boehm <me@feedic.com>",
|
6 | "funding": [
|
7 | "https://github.com/fb55/htmlparser2?sponsor=1",
|
8 | {
|
9 | "type": "github",
|
10 | "url": "https://github.com/sponsors/fb55"
|
11 | }
|
12 | ],
|
13 | "license": "MIT",
|
14 | "sideEffects": false,
|
15 | "keywords": [
|
16 | "html",
|
17 | "parser",
|
18 | "streams",
|
19 | "xml",
|
20 | "dom",
|
21 | "rss",
|
22 | "feed",
|
23 | "atom"
|
24 | ],
|
25 | "repository": {
|
26 | "type": "git",
|
27 | "url": "git://github.com/fb55/htmlparser2.git"
|
28 | },
|
29 | "directories": {
|
30 | "lib": "lib/"
|
31 | },
|
32 | "main": "lib/index.js",
|
33 | "types": "lib/index.d.ts",
|
34 | "files": [
|
35 | "lib/**/*"
|
36 | ],
|
37 | "scripts": {
|
38 | "test": "npm run test:jest && npm run lint",
|
39 | "test:jest": "jest",
|
40 | "lint": "npm run lint:es && npm run lint:prettier",
|
41 | "lint:es": "eslint src",
|
42 | "lint:prettier": "npm run format:prettier:raw -- --check",
|
43 | "format": "npm run format:es && npm run format:prettier",
|
44 | "format:es": "npm run lint:es -- --fix",
|
45 | "format:prettier": "npm run format:prettier:raw -- --write",
|
46 | "format:prettier:raw": "prettier '**/*.{ts,md,json,yml}'",
|
47 | "build": "tsc",
|
48 | "prepare": "npm run build"
|
49 | },
|
50 | "dependencies": {
|
51 | "domelementtype": "^2.0.1",
|
52 | "domhandler": "^4.2.2",
|
53 | "domutils": "^2.8.0",
|
54 | "entities": "^3.0.1"
|
55 | },
|
56 | "devDependencies": {
|
57 | "@types/jest": "^27.0.1",
|
58 | "@types/node": "^16.9.1",
|
59 | "@typescript-eslint/eslint-plugin": "^4.31.0",
|
60 | "@typescript-eslint/parser": "^4.31.0",
|
61 | "eslint": "^7.32.0",
|
62 | "eslint-config-prettier": "^8.1.0",
|
63 | "jest": "^27.1.1",
|
64 | "prettier": "^2.4.0",
|
65 | "ts-jest": "^27.0.5",
|
66 | "typescript": "^4.4.2"
|
67 | },
|
68 | "jest": {
|
69 | "preset": "ts-jest",
|
70 | "testEnvironment": "node"
|
71 | },
|
72 | "prettier": {
|
73 | "tabWidth": 4
|
74 | }
|
75 | }
|