-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
88 lines (88 loc) · 3.07 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
{
"name": "yt-dlp-api",
"description": "An API for efficiently and flexibly fetching media data from around the web",
"version": "2025.2.20",
"type": "module",
"author": "Bret Comnes <[email protected]> (https://bret.io)",
"bugs": {
"url": "https://github.com/hifiwi-fi/yt-dlp-api/issues"
},
"dependencies": {
"npm-run-all2": "^7.0.0",
"custompatch": "^1.1.4",
"@bret/is-youtube-url": "^1.0.5",
"@fastify/auth": "^5.0.1",
"@fastify/autoload": "^6.0.1",
"@fastify/basic-auth": "^6.0.1",
"@fastify/circuit-breaker": "^4.0.1",
"@fastify/compress": "^8.0.1",
"@fastify/env": "^5.0.1",
"@fastify/sensible": "^6.0.1",
"fastify": "^ 5.0.0",
"fastify-cli": "^7.0.1",
"fastify-healthcheck": "^5.0.0",
"fastify-metrics": "^12.1.0",
"fastify-plugin": "^5.0.1",
"googlevideo": "2.0.0",
"hyperid": "^3.1.1",
"secure-json-parse": "^4.0.0",
"undici": "^7.0.0",
"youtubei.js": "13.1.0"
},
"devDependencies": {
"@bret/type-provider-json-schema-to-ts": "^5.0.0",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.0.0",
"@voxpelli/tsconfig": "^15.0.0",
"auto-changelog": "^2.0.0",
"bgutils-js": "^3.0.0",
"eslint": "^9.11.0",
"gh-release": "^7.0.0",
"installed-check": "^9.3.0",
"jsdom": "^26.0.0",
"json-schema-to-ts": "^3.1.1",
"neostandard": "^0.12.0",
"patch-package": "^8.0.0",
"type-fest": "^4.26.1",
"typescript": "~5.8.2"
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/bcomnes"
},
"homepage": "https://github.com/hifiwi-fi/yt-dlp-api",
"keywords": [],
"license": "AGPL-3.0-or-later",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/hifiwi-fi/yt-dlp-api.git"
},
"engines": {
"node": ">=20.18.1"
},
"scripts": {
"postinstall": "run-s postinstall:*",
"postinstall-skip:custompatch": "custompatch",
"postinstall:venv": "cd ytdlp-server/ && python3 -m venv venv && . venv/bin/activate && pip3 install -r requirements.txt",
"clean": "rm -rf node_modules && rm -rf ytdlp-server/venv",
"prepublishOnly": "git push --follow-tags && gh-release -y",
"release": "git push --follow-tags && gh-release -y",
"version": "run-s version:*",
"version:changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:'",
"version:git": "git add CHANGELOG.md",
"test": "run-s test:*",
"test:neostandard": "eslint .",
"test:tsc": "tsc",
"test:installed-check": "installed-check --ignore-dev",
"test:node-test": "node --test",
"watch": "FORCE_COLOR=1 run-p -n -l watch:*",
"watch:fastify": "fastify start -w --ignore-watch='node_modules .git' -l info -P -p 5000 --options --address localhost app.js",
"watch:python": "cd ytdlp-server/ && . venv/bin/activate && flask --app yt_dlp_api --debug run --port 5001",
"print-routes": "fastify print-routes app.js",
"print-plugins": "fastify print-plugins app.js",
"start": "npm run watch",
"deploy": "fly deploy",
"knip": "knip --dependencies"
}
}