package.json 1.87 KB
{
    "name": "cheerio-select",
    "description": "CSS selector engine supporting jQuery selectors",
    "version": "1.4.0",
    "author": "Felix Boehm <me@feedic.com>",
    "funding": {
        "url": "https://github.com/sponsors/fb55"
    },
    "license": "BSD-2-Clause",
    "sideEffects": false,
    "repository": {
        "type": "git",
        "url": "git://github.com/cheeriojs/cheerio-select.git"
    },
    "directories": {
        "lib": "lib/"
    },
    "main": "lib/index.js",
    "types": "lib/index.d.ts",
    "files": [
        "lib/**/*"
    ],
    "scripts": {
        "test": "jest --coverage && npm run lint",
        "coverage": "cat coverage/lcov.info | coveralls",
        "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": {
        "css-select": "^4.1.2",
        "css-what": "^5.0.0",
        "domelementtype": "^2.2.0",
        "domhandler": "^4.2.0",
        "domutils": "^2.6.0"
    },
    "devDependencies": {
        "@types/jest": "^26.0.22",
        "@typescript-eslint/eslint-plugin": "^4.22.0",
        "@typescript-eslint/parser": "^4.22.0",
        "coveralls": "^3.1.0",
        "eslint": "^7.24.0",
        "eslint-config-prettier": "^8.2.0",
        "htmlparser2": "^6.1.0",
        "jest": "^26.6.3",
        "prettier": "^2.2.1",
        "ts-jest": "^26.5.5",
        "typescript": "^4.2.4"
    },
    "jest": {
        "preset": "ts-jest",
        "testEnvironment": "node"
    },
    "prettier": {
        "tabWidth": 4
    }
}