115 lines
3.2 KiB
JSON
115 lines
3.2 KiB
JSON
|
{
|
||
|
"name": "cheerio",
|
||
|
"version": "1.0.0-rc.10",
|
||
|
"description": "Tiny, fast, and elegant implementation of core jQuery designed specifically for the server",
|
||
|
"author": "Matt Mueller <mattmuelle@gmail.com>",
|
||
|
"maintainers": [
|
||
|
"Felix Boehm <me@feedic.com>"
|
||
|
],
|
||
|
"funding": "https://github.com/cheeriojs/cheerio?sponsor=1",
|
||
|
"license": "MIT",
|
||
|
"keywords": [
|
||
|
"htmlparser",
|
||
|
"jquery",
|
||
|
"selector",
|
||
|
"scraper",
|
||
|
"parser",
|
||
|
"html"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/cheeriojs/cheerio.git"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/cheeriojs/cheerio/issues"
|
||
|
},
|
||
|
"homepage": "https://cheerio.js.org/",
|
||
|
"main": "lib/index.js",
|
||
|
"types": "lib/index.d.ts",
|
||
|
"files": [
|
||
|
"lib"
|
||
|
],
|
||
|
"engines": {
|
||
|
"node": ">= 6"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"cheerio-select": "^1.5.0",
|
||
|
"dom-serializer": "^1.3.2",
|
||
|
"domhandler": "^4.2.0",
|
||
|
"htmlparser2": "^6.1.0",
|
||
|
"parse5": "^6.0.1",
|
||
|
"parse5-htmlparser2-tree-adapter": "^6.0.1",
|
||
|
"tslib": "^2.2.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@octokit/graphql": "^4.6.2",
|
||
|
"@types/benchmark": "^2.1.0",
|
||
|
"@types/jest": "^26.0.23",
|
||
|
"@types/jsdom": "^16.2.10",
|
||
|
"@types/node": "^15.12.1",
|
||
|
"@types/node-fetch": "^2.5.10",
|
||
|
"@types/parse5": "^6.0.0",
|
||
|
"@types/parse5-htmlparser2-tree-adapter": "^6.0.0",
|
||
|
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
||
|
"@typescript-eslint/parser": "^4.26.0",
|
||
|
"benchmark": "^2.1.4",
|
||
|
"eslint": "^7.28.0",
|
||
|
"eslint-config-prettier": "^8.3.0",
|
||
|
"eslint-plugin-jest": "^24.3.6",
|
||
|
"eslint-plugin-jsdoc": "^35.1.3",
|
||
|
"eslint-plugin-node": "^11.1.0",
|
||
|
"husky": "^4.3.8",
|
||
|
"jest": "^27.0.4",
|
||
|
"jquery": "^3.6.0",
|
||
|
"jsdom": "^16.6.0",
|
||
|
"lint-staged": "^11.0.0",
|
||
|
"node-fetch": "^2.6.1",
|
||
|
"prettier": "^2.3.1",
|
||
|
"prettier-plugin-jsdoc": "0.3.22",
|
||
|
"ts-jest": "^27.0.3",
|
||
|
"ts-node": "^10.0.0",
|
||
|
"typedoc": "^0.20.36",
|
||
|
"typescript": "^4.2.4"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "npm run lint && npm run test:jest",
|
||
|
"test:jest": "jest",
|
||
|
"test:jest:cov": "npm run test:jest -- --coverage",
|
||
|
"lint": "npm run lint:es && npm run lint:prettier",
|
||
|
"lint:es": "eslint --ignore-path .gitignore .",
|
||
|
"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 \"**/*.{js,ts,md,json,yml}\" --ignore-path .gitignore",
|
||
|
"build:docs": "typedoc --hideGenerator src/index.ts",
|
||
|
"benchmark": "ts-node benchmark/benchmark.ts --regex \"^(?!.*highmem)\"",
|
||
|
"update-sponsors": "ts-node scripts/fetch-sponsors.ts",
|
||
|
"bench": "npm run benchmark",
|
||
|
"pre-commit": "lint-staged",
|
||
|
"build": "tsc",
|
||
|
"prepublishOnly": "npm run build"
|
||
|
},
|
||
|
"prettier": {
|
||
|
"singleQuote": true,
|
||
|
"tabWidth": 2,
|
||
|
"tsdoc": true
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.js": [
|
||
|
"prettier --write",
|
||
|
"npm run test:lint -- --fix"
|
||
|
],
|
||
|
"*.{json,md,ts,yml}": [
|
||
|
"prettier --write"
|
||
|
]
|
||
|
},
|
||
|
"jest": {
|
||
|
"preset": "ts-jest",
|
||
|
"testEnvironment": "node",
|
||
|
"testPathIgnorePatterns": [
|
||
|
"/__fixtures__/"
|
||
|
]
|
||
|
}
|
||
|
}
|