-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 1.97 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 1.97 KB
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
{
"name": "metafetch",
"description": "Metafetch fetches a given URL's title, description, images, links etc.",
"version": "5.0.4",
"homepage": "https://github.com/brahma-dev/metafetch",
"repository": {
"type": "git",
"url": "https://github.com/brahma-dev/metafetch"
},
"files": [
"dist",
"sample.js"
],
"type": "module",
"author": "brahma-dev",
"keywords": [
"meta",
"html-head",
"twitter-cards",
"structured-data",
"head-tags",
"canonical-urls",
"page-title",
"meta-description",
"meta-tags",
"semantic-web",
"social-media-metadata",
"web scraping",
"open-graph",
"json-ld",
"scraping"
],
"main": "dist/index",
"dependencies": {
"linkedom": ">=0.13.7"
},
"peerDependencies": {
"puppeteer": ">=22.0.0 <25.0.0"
},
"peerDependenciesMeta": {
"puppeteer": {
"optional": true
}
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.2",
"@types/sinon": "^21.0.0",
"c8": "^11.0.0",
"chai": "^6.2.2",
"coveralls": "^3.1.1",
"mocha": "^11.7.5",
"mocha-junit-reporter": "^2.2.1",
"mocha-lcov-reporter": "^1.3.0",
"puppeteer": "^24.37.5",
"sinon": "^21.0.1",
"terser": "^5.46.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
},
"scripts": {
"build": "tsc && terser dist/index.js -o dist/index.js -c -m",
"dev": "tsc -w",
"test:linkedom": "for v in 0.13 0.14 0.15 0.16 0.18; do npm i linkedom@$v && npm test || break; done",
"test": "mocha",
"test:ci": "mocha --reporter mocha-junit-reporter --reporter-options \"mochaFile=./test-report.junit.xml\"",
"coverage": "c8 --reporter=text --reporter=lcov npm test",
"coverage:ci": "c8 --reporter=text --reporter=lcov npm run test:ci"
},
"engines": {
"node": ">= 18.0.0"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/brahma-dev/metafetch/issues"
}
}