forked from taoqf/node-html-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.88 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "node-html-parser",
"version": "5.0.0",
"description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"compile": "tsc",
"build": "npm run lint && npm run clean && npm run compile:cjs && npm run compile:amd",
"compile:cjs": "tsc -m commonjs",
"compile:amd": "tsc -t es5 -m amd -d false --outFile ./dist/main.js",
"lint": "eslint ./src/*.ts ./src/**/*.ts",
"---------------": "",
"test": "yarn run test:target",
"test:src": "cross-env TEST_TARGET=src yarn run test",
"test:dist": "cross-env TEST_TARGET=dist yarn run test",
"benchmark": "node ./test/benchmark/compare.mjs",
"--------------- ": "",
"clean": "npx rimraf ./dist/",
"clean:global": "yarn run clean && npx rimraf yarn.lock test/yarn.lock test/node_modules node_modules",
"reset": "yarn run clean:global && yarn install && yarn build",
"--------------- ": "",
"test:target": "mocha --recursive \"./test/tests\"",
"test:ci": "cross-env TEST_TARGET=dist yarn run test:target",
"posttest": "yarn run benchmark",
"prepare": "cd test && yarn install"
},
"keywords": [
"parser",
"html",
"nodejs",
"typescript"
],
"files": [
"dist",
"esm",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"author": "Xiaoyi Shi <[email protected]>",
"contributors": [
"taoqf <[email protected]>",
"Ron S. <[email protected]>"
],
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"dependencies": {
"css-select": "^4.1.3",
"he": "1.2.0"
},
"devDependencies": {
"@types/entities": "latest",
"@types/he": "latest",
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/eslint-plugin-tslint": "latest",
"@typescript-eslint/parser": "latest",
"blanket": "latest",
"cheerio": "^1.0.0-rc.5",
"rimraf": "^3.0.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "latest",
"eslint-plugin-import": "latest",
"high5": "^1.0.0",
"htmlparser": "^1.7.7",
"htmlparser-benchmark": "^1.1.3",
"htmlparser2": "^6.0.0",
"mocha": "latest",
"mocha-each": "^2.0.1",
"np": "latest",
"parse5": "^6.0.1",
"should": "latest",
"spec": "latest",
"standard-version": "^9.3.1",
"travis-cov": "latest",
"ts-node": "^10.2.1",
"typescript": "latest",
"cross-env": "^7.0.3"
},
"config": {
"blanket": {
"pattern": "./dist/index.js",
"data-cover-never": [
"node_modules"
]
},
"travis-cov": {
"threshold": 70
}
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "https://github.com/taoqf/node-fast-html-parser.git"
},
"bugs": {
"url": "https://github.com/taoqf/node-fast-html-parser/issues"
},
"homepage": "https://github.com/taoqf/node-fast-html-parser",
"sideEffects": false,
"exports": {
"require": "./dist/index.js",
"import": "./esm/index.js"
}
}