UNPKG

2.01 kBJSONView Raw
1{
2 "name": "domutils",
3 "version": "2.8.0",
4 "description": "Utilities for working with htmlparser2's dom",
5 "author": "Felix Boehm <me@feedic.com>",
6 "funding": {
7 "url": "https://github.com/fb55/domutils?sponsor=1"
8 },
9 "license": "BSD-2-Clause",
10 "sideEffects": false,
11 "main": "lib/index.js",
12 "types": "lib/index.d.ts",
13 "files": [
14 "lib/**/*"
15 ],
16 "scripts": {
17 "test": "npm run test:jest && npm run lint",
18 "test:jest": "jest",
19 "lint": "npm run lint:es && npm run lint:prettier",
20 "lint:es": "eslint --ignore-path .gitignore .",
21 "lint:prettier": "npm run prettier -- --check",
22 "format": "npm run format:es && npm run format:prettier",
23 "format:es": "npm run lint:es -- --fix",
24 "format:prettier": "npm run prettier -- --write",
25 "prettier": "prettier \"**/*.{ts,md,json,yml}\" --ignore-path .gitignore",
26 "build": "tsc",
27 "build:docs": "typedoc --hideGenerator --exclude \"**/*+(index|.spec).ts\" src",
28 "prepare": "npm run build"
29 },
30 "repository": {
31 "type": "git",
32 "url": "git://github.com/fb55/domutils.git"
33 },
34 "keywords": [
35 "dom",
36 "htmlparser2"
37 ],
38 "dependencies": {
39 "dom-serializer": "^1.0.1",
40 "domelementtype": "^2.2.0",
41 "domhandler": "^4.2.0"
42 },
43 "devDependencies": {
44 "@types/jest": "^27.0.1",
45 "@types/node": "^16.7.2",
46 "@typescript-eslint/eslint-plugin": "^4.29.3",
47 "@typescript-eslint/parser": "^4.29.3",
48 "eslint": "^7.32.0",
49 "eslint-config-prettier": "^8.1.0",
50 "eslint-plugin-jsdoc": "^36.0.8",
51 "htmlparser2": "~7.0.0",
52 "jest": "^27.1.0",
53 "prettier": "^2.0.5",
54 "ts-jest": "^27.0.5",
55 "typedoc": "^0.21.6",
56 "typescript": "^4.4.2"
57 },
58 "jest": {
59 "preset": "ts-jest",
60 "testEnvironment": "node"
61 },
62 "prettier": {
63 "tabWidth": 4
64 }
65}