-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.09 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 3.09 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
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@link-assistant/web-capture",
"version": "1.2.0",
"description": "CLI and microservice to render web pages as HTML, Markdown, or PNG",
"main": "src/index.js",
"bin": {
"web-capture": "./bin/web-capture.js"
},
"scripts": {
"start": "docker compose up -d",
"dev": "nodemon bin/web-capture.js -- --serve",
"test": "node --experimental-vm-modules ./node_modules/.bin/jest",
"test:watch": "node --experimental-vm-modules ./node_modules/.bin/jest --watch",
"test:e2e:process": "node --experimental-vm-modules ./node_modules/.bin/jest tests/e2e.process.test.js",
"test:e2e:docker": "node --experimental-vm-modules ./node_modules/.bin/jest tests/e2e.docker.test.js",
"test:e2e": "yarn test:e2e:process && yarn test:e2e:docker",
"test:all": "yarn build && yarn test && yarn test:e2e",
"build": "docker compose down && docker compose build && yarn start",
"examples:python": "python3 examples/python/html_download.py && python3 examples/python/markdown_download.py && python3 examples/python/image_download.py",
"examples:javascript": "node examples/js/html_download.js && node examples/js/markdown_download.js && node examples/js/image_download.js",
"examples": "yarn build && yarn examples:javascript && yarn examples:python",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"check:duplication": "jscpd .",
"check": "npm run lint && npm run format:check && npm run check:duplication",
"prepare": "husky || true",
"changeset": "changeset",
"changeset:version": "node ../scripts/changeset-version.mjs",
"changeset:publish": "changeset publish",
"changeset:status": "changeset status --since=origin/main"
},
"dependencies": {
"@kreuzberg/html-to-markdown-node": "^3.1.0",
"archiver": "^7.0.1",
"browser-commander": "^0.8.0",
"cheerio": "^1.0.0",
"docx": "^9.6.1",
"express": "^4.18.2",
"he": "^1.2.0",
"iconv-lite": "^0.6.3",
"lino-arguments": "^0.2.5",
"node-fetch": "^2.7.0",
"playwright": "^1.49.0",
"puppeteer": "^24.8.2",
"puppeteer-core": "^24.40.0",
"turndown": "^7.1.1"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@changesets/cli": "^2.29.7",
"@types/archiver": "^7.0.0",
"babel-jest": "^29.7.0",
"eslint": "^9.38.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"get-port": "^7.1.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jscpd": "^4.0.5",
"lint-staged": "^16.2.6",
"nock": "^13.5.4",
"prettier": "^3.6.2",
"supertest": "^6.3.4",
"turndown-plugin-gfm": "^1.0.2"
},
"type": "module",
"keywords": [
"render",
"markdown",
"screenshot",
"microservice"
],
"license": "Unlicense",
"engines": {
"node": ">=22.0.0 <23.0.0"
},
"lint-staged": {
"*.{js,mjs,cjs}": [
"eslint --fix --max-warnings 0",
"prettier --write",
"prettier --check"
],
"*.md": [
"prettier --write",
"prettier --check"
]
}
}