-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
package.json
96 lines (96 loc) · 2.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "cheerio",
"version": "1.0.0-rc.5",
"description": "Tiny, fast, and elegant implementation of core jQuery designed specifically for the server",
"author": "Matt Mueller <mattmuelle@gmail.com> (mat.io)",
"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": "./index.js",
"types": "types/index.d.ts",
"files": [
"index.js",
"types/index.d.ts",
"lib"
],
"engines": {
"node": ">= 0.12"
},
"dependencies": {
"cheerio-select": "^1.0.0",
"dom-serializer": "~1.2.0",
"domhandler": "^4.0.0",
"entities": "~2.1.0",
"htmlparser2": "^6.0.0",
"parse5": "^6.0.0",
"parse5-htmlparser2-tree-adapter": "^6.0.0"
},
"devDependencies": {
"@types/node": "^14.14.10",
"benchmark": "^2.1.4",
"coveralls": "^3.0.2",
"eslint": "^7.10.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-jsdoc": "^30.6.2",
"husky": "^4.2.5",
"jest": "^26.6.3",
"jquery": "^3.0.0",
"jsdoc": "^3.6.6",
"jsdom": "^16.2.2",
"lint-staged": "^10.2.2",
"prettier": "^2.1.1",
"prettier-plugin-jsdoc": "^0.2.9",
"tsd": "^0.14.0",
"xyz": "~4.0.0"
},
"scripts": {
"test": "npm run lint && npm run test:jest && npm run test:types",
"test:jest": "jest",
"test:types": "tsd",
"lint": "npm run lint:es && npm run lint:prettier",
"lint:es": "eslint .",
"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 .prettierignore",
"build:docs": "jsdoc --configure jsdoc-config.json",
"pre-commit": "lint-staged"
},
"prettier": {
"singleQuote": true,
"tabWidth": 2
},
"lint-staged": {
"*.js": [
"prettier --write",
"npm run test:lint -- --fix"
],
"*.{json,md,ts,yml}": [
"prettier --write"
]
},
"jest": {
"testEnvironment": "node",
"testMatch": [
"<rootDir>/test/**/*.js"
],
"testPathIgnorePatterns": [
"/__fixtures__/"
]
}
}