public_library_map/node_modules/cheerio/package.json

135 lines
3.8 KiB
JSON
Raw Normal View History

2021-11-24 19:46:47 +11:00
{
2022-09-03 17:12:22 +10:00
"name": "cheerio",
"version": "1.0.0-rc.12",
"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"
2021-11-24 19:46:47 +11:00
],
2022-09-03 17:12:22 +10:00
"repository": {
"type": "git",
"url": "git://github.com/cheeriojs/cheerio.git"
2021-11-24 19:46:47 +11:00
},
"bugs": {
"url": "https://github.com/cheeriojs/cheerio/issues"
},
2022-09-03 17:12:22 +10:00
"homepage": "https://cheerio.js.org/",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"module": "lib/esm/index.js",
"exports": {
".": {
"require": "./lib/index.js",
"import": "./lib/esm/index.js"
},
"./lib/slim": {
"require": "./lib/slim.js",
"import": "./lib/esm/slim.js"
},
"./lib/utils": {
"require": "./lib/utils.js",
"import": "./lib/esm/utils.js"
}
},
"files": [
"lib"
],
"engines": {
"node": ">= 6"
},
2021-11-24 19:46:47 +11:00
"dependencies": {
2022-09-03 17:12:22 +10:00
"cheerio-select": "^2.1.0",
"dom-serializer": "^2.0.0",
"domhandler": "^5.0.3",
"domutils": "^3.0.1",
"htmlparser2": "^8.0.1",
"parse5": "^7.0.0",
"parse5-htmlparser2-tree-adapter": "^7.0.0"
2021-11-24 19:46:47 +11:00
},
"devDependencies": {
2022-09-03 17:12:22 +10:00
"@octokit/graphql": "^4.8.0",
"@types/benchmark": "^2.1.1",
"@types/jest": "^28.1.3",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
2021-11-24 19:46:47 +11:00
"benchmark": "^2.1.4",
2022-09-03 17:12:22 +10:00
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jsdoc": "^39.3.3",
2021-11-24 19:46:47 +11:00
"eslint-plugin-node": "^11.1.0",
2022-09-03 17:12:22 +10:00
"husky": "^8.0.1",
"jest": "^28.1.1",
2021-11-24 19:46:47 +11:00
"jquery": "^3.6.0",
2022-09-03 17:12:22 +10:00
"jsdom": "^20.0.0",
"lint-staged": "^13.0.2",
"prettier": "^2.7.1",
"prettier-plugin-jsdoc": "0.3.38",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.1",
"typedoc": "^0.22.17",
"typescript": "^4.7.4",
"undici": "^5.5.1"
2021-11-24 19:46:47 +11:00
},
2022-09-03 17:12:22 +10:00
"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 \"**/*.{{m,c,}js,ts,md,json,yml}\" --ignore-path .gitignore",
"build:docs": "typedoc --hideGenerator src/index.ts",
"benchmark": "npm run build:cjs && ts-node benchmark/benchmark.ts --regex \"^(?!.*highmem)\"",
"update-sponsors": "ts-node scripts/fetch-sponsors.ts",
"bench": "npm run benchmark",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --sourceRoot https://raw.githubusercontent.com/cheeriojs/cheerio/$(git rev-parse HEAD)/src/",
"build:esm": "npm run build:cjs -- --module esnext --target es2019 --outDir lib/esm && echo '{\"type\":\"module\"}' > lib/esm/package.json",
"prepublishOnly": "npm run build",
"prepare": "husky install"
2021-11-24 19:46:47 +11:00
},
2022-09-03 17:12:22 +10:00
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"tsdoc": true
2021-11-24 19:46:47 +11:00
},
"lint-staged": {
"*.js": [
"prettier --write",
"npm run test:lint -- --fix"
],
"*.{json,md,ts,yml}": [
"prettier --write"
]
},
2022-09-03 17:12:22 +10:00
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/__fixtures__/"
],
"coverageProvider": "v8",
"moduleNameMapper": {
"^(.*)\\.js$": [
"$1.js",
"$1"
]
2021-11-24 19:46:47 +11:00
}
2022-09-03 17:12:22 +10:00
}
2021-11-24 19:46:47 +11:00
}