package.json 1.84 KB
{
    "name": "cheerio-select",
    "description": "CSS selector engine supporting jQuery selectors",
    "version": "1.6.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": "npm run test:jest && npm run lint",
        "test:jest": "jest",
        "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.3.0",
        "css-what": "^6.0.1",
        "domelementtype": "^2.2.0",
        "domhandler": "^4.3.1",
        "domutils": "^2.8.0"
    },
    "devDependencies": {
        "@types/jest": "^27.4.1",
        "@types/node": "^17.0.23",
        "@typescript-eslint/eslint-plugin": "^5.16.0",
        "@typescript-eslint/parser": "^5.16.0",
        "eslint": "^8.12.0",
        "eslint-config-prettier": "^8.5.0",
        "htmlparser2": "^7.2.0",
        "jest": "^27.5.1",
        "prettier": "^2.6.1",
        "ts-jest": "^27.1.3",
        "typescript": "^4.6.3"
    },
    "jest": {
        "preset": "ts-jest",
        "testEnvironment": "node"
    },
    "prettier": {
        "tabWidth": 4
    }
}