UNPKG

3.26 kBJSONView Raw
1{
2 "name": "cheerio",
3 "version": "1.0.0-rc.10",
4 "description": "Tiny, fast, and elegant implementation of core jQuery designed specifically for the server",
5 "author": "Matt Mueller <mattmuelle@gmail.com>",
6 "maintainers": [
7 "Felix Boehm <me@feedic.com>"
8 ],
9 "funding": "https://github.com/cheeriojs/cheerio?sponsor=1",
10 "license": "MIT",
11 "keywords": [
12 "htmlparser",
13 "jquery",
14 "selector",
15 "scraper",
16 "parser",
17 "html"
18 ],
19 "repository": {
20 "type": "git",
21 "url": "git://github.com/cheeriojs/cheerio.git"
22 },
23 "bugs": {
24 "url": "https://github.com/cheeriojs/cheerio/issues"
25 },
26 "homepage": "https://cheerio.js.org/",
27 "main": "lib/index.js",
28 "types": "lib/index.d.ts",
29 "files": [
30 "lib"
31 ],
32 "engines": {
33 "node": ">= 6"
34 },
35 "dependencies": {
36 "cheerio-select": "^1.5.0",
37 "dom-serializer": "^1.3.2",
38 "domhandler": "^4.2.0",
39 "htmlparser2": "^6.1.0",
40 "parse5": "^6.0.1",
41 "parse5-htmlparser2-tree-adapter": "^6.0.1",
42 "tslib": "^2.2.0"
43 },
44 "devDependencies": {
45 "@octokit/graphql": "^4.6.2",
46 "@types/benchmark": "^2.1.0",
47 "@types/jest": "^26.0.23",
48 "@types/jsdom": "^16.2.10",
49 "@types/node": "^15.12.1",
50 "@types/node-fetch": "^2.5.10",
51 "@types/parse5": "^6.0.0",
52 "@types/parse5-htmlparser2-tree-adapter": "^6.0.0",
53 "@typescript-eslint/eslint-plugin": "^4.26.0",
54 "@typescript-eslint/parser": "^4.26.0",
55 "benchmark": "^2.1.4",
56 "eslint": "^7.28.0",
57 "eslint-config-prettier": "^8.3.0",
58 "eslint-plugin-jest": "^24.3.6",
59 "eslint-plugin-jsdoc": "^35.1.3",
60 "eslint-plugin-node": "^11.1.0",
61 "husky": "^4.3.8",
62 "jest": "^27.0.4",
63 "jquery": "^3.6.0",
64 "jsdom": "^16.6.0",
65 "lint-staged": "^11.0.0",
66 "node-fetch": "^2.6.1",
67 "prettier": "^2.3.1",
68 "prettier-plugin-jsdoc": "0.3.22",
69 "ts-jest": "^27.0.3",
70 "ts-node": "^10.0.0",
71 "typedoc": "^0.20.36",
72 "typescript": "^4.2.4"
73 },
74 "scripts": {
75 "test": "npm run lint && npm run test:jest",
76 "test:jest": "jest",
77 "test:jest:cov": "npm run test:jest -- --coverage",
78 "lint": "npm run lint:es && npm run lint:prettier",
79 "lint:es": "eslint --ignore-path .gitignore .",
80 "lint:prettier": "npm run format:prettier:raw -- --check",
81 "format": "npm run format:es && npm run format:prettier",
82 "format:es": "npm run lint:es -- --fix",
83 "format:prettier": "npm run format:prettier:raw -- --write",
84 "format:prettier:raw": "prettier \"**/*.{js,ts,md,json,yml}\" --ignore-path .gitignore",
85 "build:docs": "typedoc --hideGenerator src/index.ts",
86 "benchmark": "ts-node benchmark/benchmark.ts --regex \"^(?!.*highmem)\"",
87 "update-sponsors": "ts-node scripts/fetch-sponsors.ts",
88 "bench": "npm run benchmark",
89 "pre-commit": "lint-staged",
90 "build": "tsc",
91 "prepublishOnly": "npm run build"
92 },
93 "prettier": {
94 "singleQuote": true,
95 "tabWidth": 2,
96 "tsdoc": true
97 },
98 "lint-staged": {
99 "*.js": [
100 "prettier --write",
101 "npm run test:lint -- --fix"
102 ],
103 "*.{json,md,ts,yml}": [
104 "prettier --write"
105 ]
106 },
107 "jest": {
108 "preset": "ts-jest",
109 "testEnvironment": "node",
110 "testPathIgnorePatterns": [
111 "/__fixtures__/"
112 ]
113 }
114}