package.json 1.52 KB
{
    "name": "domhandler",
    "version": "4.2.0",
    "description": "Handler for htmlparser2 that turns pages into a dom",
    "author": "Felix Boehm <me@feedic.com>",
    "funding": {
        "url": "https://github.com/fb55/domhandler?sponsor=1"
    },
    "license": "BSD-2-Clause",
    "main": "lib/index.js",
    "types": "lib/index.d.ts",
    "sideEffects": false,
    "files": [
        "lib"
    ],
    "scripts": {
        "test": "jest --coverage && npm run lint",
        "coverage": "cat coverage/lcov.info | coveralls",
        "lint": "eslint src",
        "format": "prettier --write '**/*.{ts,md,json}'",
        "build": "tsc",
        "prepare": "npm run build"
    },
    "repository": {
        "type": "git",
        "url": "git://github.com/fb55/domhandler.git"
    },
    "keywords": [
        "dom",
        "htmlparser2"
    ],
    "engines": {
        "node": ">= 4"
    },
    "dependencies": {
        "domelementtype": "^2.2.0"
    },
    "devDependencies": {
        "@types/jest": "^26.0.0",
        "@types/node": "^14.0.9",
        "@typescript-eslint/eslint-plugin": "^4.1.0",
        "@typescript-eslint/parser": "^4.1.0",
        "coveralls": "^3.0.5",
        "eslint": "^7.9.0",
        "eslint-config-prettier": "^8.1.0",
        "htmlparser2": "^6.0.0",
        "jest": "^26.0.1",
        "prettier": "^2.0.5",
        "ts-jest": "^26.1.0",
        "typescript": "^4.0.2"
    },
    "jest": {
        "preset": "ts-jest",
        "testEnvironment": "node"
    },
    "prettier": {
        "tabWidth": 4
    }
}