thenavisapp
Version:
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
157 lines (156 loc) • 4.69 kB
JSON
{
"name": "cheerio",
"version": "1.0.0-rc.12",
"description": "The fast, flexible & elegant library for parsing and manipulating HTML and XML.",
"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",
"dom",
"xml",
"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",
"module": "lib/esm/index.js",
"type": "commonjs",
"exports": {
".": {
"require": "./lib/index.js",
"import": {
"node": "./lib/esm/batteries.js",
"default": "./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"
},
"./lib/batteries": {
"require": "./lib/batteries.js",
"import": "./lib/esm/batteries.js"
}
},
"files": [
"lib"
],
"engines": {
"node": ">= 6"
},
"dependencies": {
"cheerio-select": "^2.1.0",
"dom-serializer": "^2.0.0",
"domhandler": "^5.0.3",
"domutils": "^3.1.0",
"encoding-sniffer": "^0.1.0",
"htmlparser2": "^9.1.0",
"parse5": "^7.1.2",
"parse5-htmlparser2-tree-adapter": "^7.0.0",
"parse5-parser-stream": "^7.1.2",
"undici": "^5.28.2",
"whatwg-mimetype": "^4.0.0"
},
"devDependencies": {
"@imgix/js-core": "^3.8.0",
"@octokit/graphql": "^7.0.2",
"@types/benchmark": "^2.1.5",
"@types/jest": "^29.5.12",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.11.16",
"@types/whatwg-mimetype": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"benchmark": "^2.1.4",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-expect-type": "^0.3.0",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-jsdoc": "^48.0.5",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-unicorn": "^50.0.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jquery": "^3.7.1",
"jsdom": "^23.2.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.4",
"prettier-plugin-jsdoc": "^1.3.0",
"ts-jest": "^29.1.2",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
},
"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,}{j,t}s{x,},md{x,},json,y{a,}ml}\" --ignore-path .gitignore",
"benchmark": "npm run build:cjs && ts-node benchmark/benchmark.ts --regex \"^(?!.*highmem)\"",
"update-sponsors": "tsx scripts/fetch-sponsors.mts",
"bench": "npm run benchmark",
"build": "npm run build:cjs && npm run build:esm",
"make-esm": "sed 's/\"type\": \"commonjs\"/\"type\": \"module\"/g' package.json > tmp.json && mv tmp.json package.json",
"make-cjs": "sed 's/\"type\": \"module\"/\"type\": \"commonjs\"/g' package.json > tmp.json && mv tmp.json package.json",
"build:cjs": "tsc --sourceRoot https://raw.githubusercontent.com/cheeriojs/cheerio/$(git rev-parse HEAD)/src/",
"build:esm": "npm run make-esm && npm run build:cjs -- --target es2019 --outDir lib/esm && echo '{\"type\":\"module\"}' > lib/esm/package.json; npm run make-cjs",
"prepublishOnly": "npm run build",
"prepare": "husky install"
},
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"proseWrap": "always",
"plugins": [
"./node_modules/prettier-plugin-jsdoc/dist/index.js"
],
"tsdoc": true
},
"lint-staged": {
"*.js": [
"prettier --write",
"npm run lint:es -- --fix"
],
"*.{json,md,ts,yml}": [
"prettier --write"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/__fixtures__/"
],
"coverageProvider": "v8",
"moduleNameMapper": {
"^(.*)\\.js$": [
"$1.js",
"$1"
]
}
}
}