]>
Commit | Line | Data |
---|---|---|
8c308c2b | 1 | { |
d148f3b9 | 2 | "name": "peertube", |
51de2c7f | 3 | "description": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.", |
0c302acb | 4 | "version": "5.2.1", |
8c308c2b | 5 | "private": true, |
478924a0 | 6 | "licence": "AGPL-3.0", |
8c308c2b | 7 | "engines": { |
51afea54 | 8 | "node": ">=16.x", |
d29ced1a | 9 | "yarn": ">=1.x" |
288a1331 | 10 | }, |
8704acf4 RK |
11 | "bin": { |
12 | "peertube": "dist/server/tools/peertube.js" | |
13 | }, | |
288a1331 | 14 | "author": { |
25378bc8 | 15 | "name": "Chocobozzz", |
374e4197 | 16 | "email": "chocobozzz@framasoft.org", |
288a1331 C |
17 | "url": "http://github.com/Chocobozzz" |
18 | }, | |
19 | "repository": { | |
20 | "type": "git", | |
52e679ac | 21 | "url": "git+https://github.com/Chocobozzz/PeerTube.git" |
8c308c2b | 22 | }, |
fbad87b0 | 23 | "typings": "*.d.ts", |
8c308c2b | 24 | "scripts": { |
12d6b873 | 25 | "e2e:browserstack": "bash ./scripts/e2e/browserstack.sh", |
f463e2df C |
26 | "e2e:local": "bash ./scripts/e2e/local.sh", |
27 | "setup:cli": "bash ./scripts/setup/cli.sh", | |
28 | "build": "bash ./scripts/build/index.sh", | |
29 | "build:embed": "bash ./scripts/build/embed.sh", | |
30 | "build:server": "bash ./scripts/build/server.sh", | |
31 | "build:client": "bash ./scripts/build/client.sh", | |
1772b383 | 32 | "build:peertube-runner": "bash ./scripts/build/peertube-runner.sh", |
f463e2df C |
33 | "clean:client": "bash ./scripts/clean/client/index.sh", |
34 | "clean:server:test": "bash ./scripts/clean/server/test.sh", | |
35 | "i18n:update": "bash ./scripts/i18n/update.sh", | |
b5f919ac C |
36 | "plugin:install": "node ./dist/scripts/plugin/install.js", |
37 | "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js", | |
e945b184 | 38 | "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js", |
f96d1df3 | 39 | "reset-password": "node ./dist/scripts/reset-password.js", |
f463e2df C |
40 | "dev": "bash ./scripts/dev/index.sh", |
41 | "dev:server": "bash ./scripts/dev/server.sh", | |
42 | "dev:embed": "bash ./scripts/dev/embed.sh", | |
43 | "dev:client": "bash ./scripts/dev/client.sh", | |
44 | "dev:cli": "bash ./scripts/dev/cli.sh", | |
1772b383 | 45 | "dev:peertube-runner": "bash ./scripts/dev/peertube-runner.sh", |
75fb0c0b | 46 | "start": "node dist/server", |
b83b8dd5 | 47 | "start:server": "node dist/server --no-client", |
f96d1df3 | 48 | "update-host": "node ./dist/scripts/update-host.js", |
c2bd7a6f | 49 | "regenerate-thumbnails": "node ./dist/scripts/regenerate-thumbnails.js", |
0138af92 | 50 | "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js", |
e1ab52d7 | 51 | "create-move-video-storage-job": "node ./dist/scripts/create-move-video-storage-job.js", |
f463e2df | 52 | "test": "bash ./scripts/test.sh", |
f463e2df | 53 | "generate-cli-doc": "bash ./scripts/generate-cli-doc.sh", |
6627dbc9 | 54 | "generate-types-package": "ts-node ./packages/types/generate-package.ts", |
f96d1df3 | 55 | "parse-log": "node ./dist/scripts/parse-log.js", |
a9729e21 | 56 | "prune-storage": "node ./dist/scripts/prune-storage.js", |
59092428 | 57 | "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)", |
75fb0c0b | 58 | "tsc": "tsc", |
d0e848b7 | 59 | "commander": "commander", |
2284f202 | 60 | "lint": "npm run ci -- lint", |
cbca00df | 61 | "ng": "ng", |
df98563e | 62 | "ts-node": "ts-node", |
a1587156 | 63 | "eslint": "eslint", |
b969539c | 64 | "resolve-tspaths": "resolve-tspaths", |
f8360396 | 65 | "resolve-tspaths:server": "npm run resolve-tspaths -- --project tsconfig.json --src . --out dist", |
6cca7360 | 66 | "concurrently": "concurrently", |
76434ec8 | 67 | "mocha": "mocha", |
f463e2df C |
68 | "ci": "bash ./scripts/ci.sh", |
69 | "release": "bash ./scripts/release.sh", | |
70 | "release-embed-api": "bash ./scripts/release-embed-api.sh", | |
71 | "nightly": "bash ./scripts/nightly.sh", | |
72 | "openapi-clients": "bash ./scripts/openapi-clients.sh", | |
73 | "client-report": "bash ./scripts/client-report.sh", | |
931d3430 | 74 | "swagger-cli": "swagger-cli" |
4de2fafc | 75 | }, |
8c308c2b | 76 | "dependencies": { |
9ab330b9 C |
77 | "@aws-sdk/client-s3": "^3.190.0", |
78 | "@aws-sdk/lib-storage": "^3.190.0", | |
79 | "@aws-sdk/node-http-handler": "^3.190.0", | |
5ed6bc77 | 80 | "@babel/parser": "^7.17.8", |
031bbcd2 | 81 | "@node-oauth/oauth2-server": "^4.2.0", |
630d0a1b | 82 | "@opentelemetry/api": "^1.1.0", |
630d0a1b | 83 | "@opentelemetry/exporter-jaeger": "^1.3.1", |
83002a82 C |
84 | "@opentelemetry/exporter-prometheus": "~0.39.1", |
85 | "@opentelemetry/instrumentation": "^0.39.1", | |
e65ef81c C |
86 | "@opentelemetry/instrumentation-dns": "^0.31.2", |
87 | "@opentelemetry/instrumentation-express": "^0.32.1", | |
88 | "@opentelemetry/instrumentation-fs": "^0.7.0", | |
83002a82 C |
89 | "@opentelemetry/instrumentation-http": "^0.39.1", |
90 | "@opentelemetry/instrumentation-ioredis": "^0.34.2", | |
91 | "@opentelemetry/instrumentation-pg": "^0.35.2", | |
630d0a1b | 92 | "@opentelemetry/resources": "^1.3.1", |
077600e0 | 93 | "@opentelemetry/sdk-metrics": "^1.8.0", |
630d0a1b C |
94 | "@opentelemetry/sdk-trace-base": "^1.3.1", |
95 | "@opentelemetry/sdk-trace-node": "^1.3.1", | |
96 | "@opentelemetry/semantic-conventions": "^1.3.1", | |
cb0eda56 | 97 | "@peertube/feed": "^5.1.0", |
5d7cb63e | 98 | "@peertube/http-signature": "^1.7.0", |
3d2e4f03 | 99 | "@uploadx/core": "^6.0.0", |
f981dae8 | 100 | "async-lru": "^1.1.1", |
3545e72c | 101 | "async-mutex": "^0.4.0", |
077600e0 | 102 | "bcrypt": "5.1.0", |
1f6125be | 103 | "bencode": "^2.0.2", |
83002a82 | 104 | "bittorrent-tracker": "^9", |
6fcd19ba | 105 | "bluebird": "^3.5.0", |
182082f5 | 106 | "bullmq": "^3.6.6", |
c48e82b5 | 107 | "bytes": "^3.0.0", |
c6c0fa6c | 108 | "chokidar": "^3.4.2", |
e65ef81c | 109 | "commander": "^10.0.0", |
f9a971c6 | 110 | "config": "^3.0.0", |
8afc19a6 | 111 | "cookie-parser": "^1.4.3", |
b9ab2e25 | 112 | "cors": "^2.8.1", |
83002a82 | 113 | "create-torrent": "^5", |
59390818 | 114 | "deep-object-diff": "^1.1.0", |
e65ef81c | 115 | "email-templates": "^11.0.3", |
62549e6c | 116 | "execa": "^5.1.1", |
ae64a66a | 117 | "express": "^4.18.1", |
c0d2eac3 | 118 | "express-rate-limit": "^6.1.0", |
83002a82 | 119 | "express-validator": "^7.0.1", |
a5a254c4 | 120 | "flat": "^5.0.0", |
3a8a8b51 | 121 | "fluent-ffmpeg": "^2.1.0", |
e65ef81c | 122 | "fs-extra": "^11.1.0", |
db4b15f2 | 123 | "got": "^11.8.2", |
83002a82 | 124 | "helmet": "^7.0.0", |
35540f38 | 125 | "hpagent": "^1.0.0", |
76148b27 | 126 | "http-problem-details": "^0.1.5", |
564b9b55 | 127 | "ioredis": "^5.2.3", |
60919831 | 128 | "ip-anonymize": "^0.1.0", |
071584c7 | 129 | "ipaddr.js": "2.0.1", |
faa9d434 | 130 | "is-cidr": "^4.0.0", |
5182473f | 131 | "iso-639-3": "2.2.0", |
e65ef81c | 132 | "jimp": "^0.22.4", |
ba5a8d89 | 133 | "js-yaml": "^4.0.0", |
83002a82 | 134 | "jsonld": "~8.2.0", |
cb0eda56 | 135 | "lodash": "^4.17.21", |
83002a82 C |
136 | "lru-cache": "^9.1.1", |
137 | "magnet-uri": "^6", | |
35540f38 | 138 | "markdown-it": "^13.0.1", |
c2ecfe82 | 139 | "markdown-it-emoji": "^2.0.0", |
b2111066 | 140 | "maxmind": "^4.3.6", |
7348b1fd | 141 | "memoizee": "^0.4.14", |
8c308c2b | 142 | "morgan": "^1.5.3", |
ae64a66a | 143 | "multer": "^1.4.5-lts.1", |
c6c0fa6c | 144 | "node-media-server": "^2.1.4", |
a1a216d9 | 145 | "nodemailer": "^6.0.0", |
83002a82 | 146 | "opentelemetry-instrumentation-sequelize": "^0.35.0", |
077600e0 | 147 | "otpauth": "^9.0.2", |
1bb4c9ab | 148 | "p-queue": "^6", |
83002a82 | 149 | "parse-torrent": "^9", |
bb1e6d0c | 150 | "password-generator": "^2.0.2", |
faa9d434 | 151 | "pg": "^8.2.1", |
c53853ca | 152 | "piscina": "^3.2.0", |
de17453a | 153 | "prompt": "^1.0.0", |
d91a0341 | 154 | "proxy-addr": "^2.0.7", |
faa9d434 | 155 | "pug": "^3.0.0", |
a4255d8e | 156 | "reflect-metadata": "^0.1.12", |
98b94643 | 157 | "sanitize-html": "2.x", |
83002a82 | 158 | "sequelize": "6.31.1", |
b49f22d8 | 159 | "sequelize-typescript": "^2.0.0-beta.1", |
d4a8e7a6 | 160 | "short-uuid": "^4.2.0", |
c9783c7b | 161 | "sitemap": "^7.0.0", |
f7b00376 | 162 | "socket.io": "^4.5.4", |
077600e0 | 163 | "sql-formatter": "^12.0.1", |
f4001cf4 | 164 | "srt-to-vtt": "^1.1.2", |
35540f38 | 165 | "tsconfig-paths": "^4.0.0", |
e0ef8dab | 166 | "tslib": "^2.0.0", |
aad0ec24 | 167 | "useragent": "^2.3.0", |
d9699428 | 168 | "validator": "^13.0.0", |
e4f97bab | 169 | "webfinger.js": "^2.6.6", |
83002a82 | 170 | "webtorrent": "^1.9", |
3d2e4f03 | 171 | "winston": "3.8.2", |
62549e6c | 172 | "ws": "^8.0.0" |
8c308c2b C |
173 | }, |
174 | "devDependencies": { | |
605450a6 | 175 | "@peertube/maildev": "^1.2.0", |
8cc61201 | 176 | "@types/bcrypt": "^5.0.0", |
41fb13c3 | 177 | "@types/bencode": "^2.0.0", |
c9783c7b | 178 | "@types/bluebird": "^3.5.33", |
65fcc311 | 179 | "@types/body-parser": "^1.16.3", |
c48e82b5 | 180 | "@types/bytes": "^3.0.0", |
0e1dc3e7 | 181 | "@types/chai": "^4.0.4", |
966eb053 RK |
182 | "@types/chai-json-schema": "^1.4.3", |
183 | "@types/chai-xml": "^0.3.1", | |
3d2e4f03 | 184 | "@types/config": "^3.3.0", |
41fb13c3 | 185 | "@types/create-torrent": "^5.0.0", |
ba5a8d89 | 186 | "@types/express": "4.17.9", |
313921b5 | 187 | "@types/fluent-ffmpeg": "^2.1.16", |
e65ef81c | 188 | "@types/fs-extra": "^11.0.1", |
65fcc311 | 189 | "@types/lodash": "^4.14.64", |
69818c93 | 190 | "@types/magnet-uri": "^5.1.1", |
e65ef81c | 191 | "@types/maildev": "^0.0.4", |
7348b1fd | 192 | "@types/memoizee": "^0.4.2", |
077600e0 | 193 | "@types/mocha": "^10.0.0", |
65fcc311 | 194 | "@types/morgan": "^1.7.32", |
556ddc31 | 195 | "@types/multer": "^1.3.3", |
82e3ae15 | 196 | "@types/node": "^18.13.0", |
60919831 | 197 | "@types/nodemailer": "^6.2.0", |
2db85d6b | 198 | "@types/oauth2-server": "^3.0.8", |
556ddc31 | 199 | "@types/request": "^2.0.3", |
0e1dc3e7 | 200 | "@types/supertest": "^2.0.3", |
faa9d434 | 201 | "@types/validator": "^13.0.0", |
fce7fe04 | 202 | "@types/webtorrent": "^0.109.0", |
05c0535d C |
203 | "@types/ws": "^8.2.0", |
204 | "@typescript-eslint/eslint-plugin": "^5.0.0", | |
4abbeff5 | 205 | "autocannon": "^7.0.4", |
556ddc31 | 206 | "chai": "^4.1.1", |
966eb053 | 207 | "chai-json-schema": "^1.5.0", |
fce7fe04 | 208 | "chai-xml": "^0.4.0", |
83002a82 | 209 | "concurrently": "^8.0.1", |
8b03e2ce | 210 | "depcheck": "^1.4.2", |
83002a82 C |
211 | "eslint": "8.41.0", |
212 | "eslint-config-standard-with-typescript": "34.0.1", | |
a1587156 | 213 | "eslint-plugin-import": "^2.20.1", |
83002a82 | 214 | "eslint-plugin-n": "^16.0.0", |
a1587156 | 215 | "eslint-plugin-node": "^11.0.0", |
2d28b0c2 C |
216 | "eslint-plugin-promise": "^6.0.0", |
217 | "fast-xml-parser": "^4.0.0-beta.8", | |
d41f4a6d | 218 | "jpeg-js": "^0.4.4", |
35540f38 | 219 | "mocha": "^10.0.0", |
d41f4a6d C |
220 | "pixelmatch": "^5.3.0", |
221 | "pngjs": "^7.0.0", | |
83002a82 | 222 | "proxy": "^2.1.1", |
e65ef81c | 223 | "resolve-tspaths": "^0.8.8", |
f7b00376 | 224 | "socket.io-client": "^4.5.4", |
fce7fe04 | 225 | "supertest": "^6.0.1", |
d9699428 | 226 | "swagger-cli": "^4.0.2", |
5ed6bc77 | 227 | "ts-node": "^10.8.1", |
e65ef81c | 228 | "tsc-watch": "^6.0.0", |
83002a82 | 229 | "typescript": "~5.0.4" |
8c308c2b | 230 | }, |
0672dc76 | 231 | "bundlewatch": { |
d632a147 C |
232 | "files": [ |
233 | { | |
fd0c1155 | 234 | "path": "client/dist/en-US/*.js", |
d632a147 | 235 | "maxSize": "1mb" |
a3b5e78a C |
236 | }, |
237 | { | |
238 | "path": "client/dist/standalone/videos/video-embed.bundle.js", | |
239 | "maxSize": "1mb" | |
240 | }, | |
241 | { | |
242 | "path": "client/dist/standalone/videos/video-embed.css", | |
243 | "maxSize": "1mb" | |
d632a147 C |
244 | } |
245 | ] | |
8424c402 | 246 | } |
8c308c2b | 247 | } |