forked from extractus/article-extractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.41 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
{
"version": "7.2.8",
"name": "@extractus/article-extractor",
"description": "To extract main article from given URL",
"homepage": "https://github.com/extractus/article-extractor",
"repository": {
"type": "git",
"url": "[email protected]:extractus/article-extractor.git"
},
"author": "@extractus",
"main": "./src/main.js",
"type": "module",
"exports": {
"import": "./src/main.js",
"require": "./dist/cjs/article-extractor.js"
},
"imports": {
"cross-fetch": "./src/deno/cross-fetch.js"
},
"browser": {
"linkedom": "./src/browser/linkedom.js"
},
"types": "./index.d.ts",
"engines": {
"node": ">= 14"
},
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"pretest": "npm run lint",
"test": "NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --verbose --coverage=true",
"build": "node build",
"eval": "node eval",
"reset": "node reset"
},
"dependencies": {
"@mozilla/readability": "^0.4.2",
"bellajs": "^11.1.1",
"cross-fetch": "^3.1.5",
"linkedom": "^0.14.21",
"sanitize-html": "^2.8.1",
"string-similarity": "^4.0.4"
},
"devDependencies": {
"@types/sanitize-html": "^2.8.0",
"esbuild": "^0.16.16",
"eslint": "^8.31.0",
"jest": "^29.3.1",
"nock": "^13.3.0"
},
"keywords": [
"article",
"extractor",
"parser",
"readability",
"util"
],
"license": "MIT"
}