package.json 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. {
  2. "name": "peertube",
  3. "description": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.",
  4. "version": "6.0.3",
  5. "private": true,
  6. "licence": "AGPL-3.0",
  7. "engines": {
  8. "node": ">=18.x",
  9. "yarn": ">=1.x"
  10. },
  11. "type": "module",
  12. "author": {
  13. "name": "Chocobozzz",
  14. "email": "chocobozzz@framasoft.org",
  15. "url": "http://github.com/Chocobozzz"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/Chocobozzz/PeerTube.git"
  20. },
  21. "typings": "*.d.ts",
  22. "workspaces": [
  23. "packages/*",
  24. "server"
  25. ],
  26. "scripts": {
  27. "e2e:browserstack": "bash ./scripts/e2e/browserstack.sh",
  28. "e2e:local": "bash ./scripts/e2e/local.sh",
  29. "build": "bash ./scripts/build/index.sh",
  30. "build:embed": "bash ./scripts/build/embed.sh",
  31. "build:server": "bash ./scripts/build/server.sh",
  32. "build:client": "bash ./scripts/build/client.sh",
  33. "build:peertube-runner": "bash ./scripts/build/peertube-runner.sh",
  34. "build:peertube-cli": "bash ./scripts/build/peertube-cli.sh",
  35. "build:tests": "bash ./scripts/build/tests.sh",
  36. "clean:client": "bash ./scripts/clean/client/index.sh",
  37. "clean:server:test": "bash ./scripts/clean/server/test.sh",
  38. "i18n:update": "bash ./scripts/i18n/update.sh",
  39. "dev": "bash ./scripts/dev/index.sh",
  40. "dev:server": "bash ./scripts/dev/server.sh",
  41. "dev:embed": "bash ./scripts/dev/embed.sh",
  42. "dev:client": "bash ./scripts/dev/client.sh",
  43. "dev:peertube-cli": "bash ./scripts/dev/peertube-cli.sh",
  44. "dev:peertube-runner": "bash ./scripts/dev/peertube-runner.sh",
  45. "start": "node dist/server",
  46. "start:server": "node dist/server --no-client",
  47. "plugin:install": "node ./dist/scripts/plugin/install.js",
  48. "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js",
  49. "reset-password": "node ./dist/scripts/reset-password.js",
  50. "update-host": "node ./dist/scripts/update-host.js",
  51. "regenerate-thumbnails": "node ./dist/scripts/regenerate-thumbnails.js",
  52. "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
  53. "create-move-video-storage-job": "node ./dist/scripts/create-move-video-storage-job.js",
  54. "create-generate-storyboard-job": "node ./dist/scripts/create-generate-storyboard-job.js",
  55. "parse-log": "node ./dist/scripts/parse-log.js",
  56. "prune-storage": "node ./dist/scripts/prune-storage.js",
  57. "test": "bash ./scripts/test.sh",
  58. "generate-cli-doc": "bash ./scripts/generate-cli-doc.sh",
  59. "generate-types-package": "tsx --conditions=peertube:tsx ./packages/types-generator/generate-package.ts",
  60. "i18n:create-custom-files": "tsx --tsconfig ./scripts/tsconfig.json --conditions=peertube:tsx ./scripts/i18n/create-custom-files.ts",
  61. "benchmark-server": "tsx --conditions=peertube:tsx ./scripts/benchmark.ts",
  62. "client:build-stats": "tsx --conditions=peertube:tsx ./scripts/client-build-stats.ts",
  63. "generate-code-contributors": "tsx --conditions=peertube:tsx ./scripts/generate-code-contributors.ts",
  64. "simulate-many-viewers": "tsx --conditions=peertube:tsx ./scripts/simulate-many-viewers.ts",
  65. "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)",
  66. "tsc": "tsc",
  67. "commander": "commander",
  68. "lint": "npm run ci -- lint",
  69. "ng": "ng",
  70. "tsx": "tsx",
  71. "eslint": "eslint",
  72. "resolve-tspaths": "resolve-tspaths",
  73. "resolve-tspaths:server": "npm run resolve-tspaths -- --project server/tsconfig.json --src server --out dist",
  74. "resolve-tspaths:server-lib": "npm run resolve-tspaths -- --project server/tsconfig.lib.json --src server --out server/dist",
  75. "resolve-tspaths:tests": "npm run resolve-tspaths -- --project packages/tests/tsconfig.json --src packages/tests/src --out packages/tests/dist",
  76. "concurrently": "concurrently",
  77. "mocha": "mocha",
  78. "ci": "bash ./scripts/ci.sh",
  79. "release": "bash ./scripts/release.sh",
  80. "release-embed-api": "bash ./scripts/release-embed-api.sh",
  81. "nightly": "bash ./scripts/nightly.sh",
  82. "openapi-clients": "bash ./scripts/openapi-clients.sh",
  83. "client-report": "bash ./scripts/client-report.sh",
  84. "swagger-cli": "swagger-cli"
  85. },
  86. "dependencies": {
  87. "@aws-sdk/client-s3": "^3.190.0",
  88. "@aws-sdk/lib-storage": "^3.190.0",
  89. "@aws-sdk/s3-request-presigner": "^3.345.0",
  90. "@babel/parser": "^7.17.8",
  91. "@commander-js/extra-typings": "^12.0.0",
  92. "@node-oauth/oauth2-server": "^5.1.0",
  93. "@opentelemetry/api": "^1.1.0",
  94. "@opentelemetry/exporter-jaeger": "^1.15.1",
  95. "@opentelemetry/exporter-prometheus": "~0.48.0",
  96. "@opentelemetry/instrumentation": "^0.48.0",
  97. "@opentelemetry/instrumentation-dns": "^0.33.0",
  98. "@opentelemetry/instrumentation-express": "^0.35.0",
  99. "@opentelemetry/instrumentation-fs": "^0.9.0",
  100. "@opentelemetry/instrumentation-http": "^0.48.0",
  101. "@opentelemetry/instrumentation-ioredis": "^0.37.0",
  102. "@opentelemetry/instrumentation-pg": "^0.38.0",
  103. "@opentelemetry/resources": "^1.15.1",
  104. "@opentelemetry/sdk-metrics": "^1.15.1",
  105. "@opentelemetry/sdk-trace-base": "^1.15.1",
  106. "@opentelemetry/sdk-trace-node": "^1.15.1",
  107. "@opentelemetry/semantic-conventions": "^1.15.1",
  108. "@peertube/feed": "^5.1.1",
  109. "@peertube/http-signature": "^1.7.0",
  110. "@smithy/node-http-handler": "^2.1.7",
  111. "@uploadx/core": "^6.0.0",
  112. "archiver": "^6.0.1",
  113. "async-mutex": "^0.4.0",
  114. "bcrypt": "5.1.1",
  115. "bencode": "^4.0.0",
  116. "bittorrent-tracker": "^11.0.1",
  117. "bluebird": "^3.5.0",
  118. "bullmq": "^5.3.0",
  119. "bytes": "^3.0.0",
  120. "chokidar": "^3.4.2",
  121. "commander": "^12.0.0",
  122. "config": "^3.0.0",
  123. "cookie-parser": "^1.4.3",
  124. "cors": "^2.8.1",
  125. "create-torrent": "^6.0.15",
  126. "deep-object-diff": "^1.1.0",
  127. "email-templates": "^11.0.3",
  128. "execa": "^8.0.1",
  129. "express": "^4.18.1",
  130. "express-rate-limit": "^7.1.1",
  131. "express-validator": "^7.0.1",
  132. "flat": "^6.0.1",
  133. "fluent-ffmpeg": "^2.1.0",
  134. "fs-extra": "^11.1.0",
  135. "got": "^13.0.0",
  136. "helmet": "^7.0.0",
  137. "hpagent": "^1.0.0",
  138. "http-problem-details": "^0.1.5",
  139. "ioredis": "^5.2.3",
  140. "ip-anonymize": "^0.1.0",
  141. "ipaddr.js": "2.1.0",
  142. "iso-639-3": "3.0.1",
  143. "jimp": "^0.22.4",
  144. "js-yaml": "^4.0.0",
  145. "jsonld": "~8.3.1",
  146. "jsonwebtoken": "^9.0.2",
  147. "lodash-es": "^4.17.21",
  148. "lru-cache": "^10.0.1",
  149. "magnet-uri": "^7.0.5",
  150. "markdown-it": "^14.0.0",
  151. "markdown-it-emoji": "^3.0.0",
  152. "maxmind": "^4.3.6",
  153. "memoizee": "^0.4.14",
  154. "morgan": "^1.5.3",
  155. "multer": "^1.4.5-lts.1",
  156. "node-media-server": "^2.1.4",
  157. "nodemailer": "^6.0.0",
  158. "opentelemetry-instrumentation-sequelize": "^0.40.0",
  159. "otpauth": "^9.0.2",
  160. "p-queue": "^8.0.1",
  161. "parse-torrent": "^11.0.14",
  162. "password-generator": "^2.0.2",
  163. "pg": "^8.2.1",
  164. "piscina": "^4.1.0",
  165. "prompt": "^1.0.0",
  166. "proxy-addr": "^2.0.7",
  167. "pug": "^3.0.0",
  168. "reflect-metadata": "^0.2.1",
  169. "sanitize-html": "2.x",
  170. "sequelize": "6.33.0",
  171. "sequelize-typescript": "^2.0.0-beta.1",
  172. "short-uuid": "^4.2.0",
  173. "sitemap": "^7.0.0",
  174. "socket.io": "^4.5.4",
  175. "sql-formatter": "^15.2.0",
  176. "srt-to-vtt": "^1.1.2",
  177. "tslib": "^2.0.0",
  178. "useragent": "^2.3.0",
  179. "validator": "^13.0.0",
  180. "webfinger.js": "^2.6.6",
  181. "webtorrent": "^2.1.27",
  182. "winston": "3.11.0",
  183. "ws": "^8.0.0",
  184. "yauzl": "^3.1.0"
  185. },
  186. "devDependencies": {
  187. "@peertube/maildev": "^1.2.0",
  188. "@peertube/resolve-tspaths": "^0.8.14",
  189. "@types/archiver": "^6.0.2",
  190. "@types/bcrypt": "^5.0.0",
  191. "@types/bencode": "^2.0.0",
  192. "@types/bluebird": "^3.5.33",
  193. "@types/body-parser": "^1.16.3",
  194. "@types/bytes": "^3.0.0",
  195. "@types/chai": "^4.0.4",
  196. "@types/chai-json-schema": "^1.4.3",
  197. "@types/chai-xml": "^0.3.1",
  198. "@types/config": "^3.3.0",
  199. "@types/create-torrent": "^5.0.0",
  200. "@types/express": "4.17.9",
  201. "@types/fluent-ffmpeg": "^2.1.16",
  202. "@types/fs-extra": "^11.0.1",
  203. "@types/jsonld": "^1.5.9",
  204. "@types/jsonwebtoken": "^9.0.5",
  205. "@types/lodash-es": "^4.17.8",
  206. "@types/magnet-uri": "^5.1.1",
  207. "@types/maildev": "^0.0.7",
  208. "@types/memoizee": "^0.4.2",
  209. "@types/mocha": "^10.0.0",
  210. "@types/morgan": "^1.7.32",
  211. "@types/multer": "^1.3.3",
  212. "@types/node": "^18.13.0",
  213. "@types/nodemailer": "^6.2.0",
  214. "@types/oauth2-server": "^3.0.8",
  215. "@types/request": "^2.0.3",
  216. "@types/supertest": "^6.0.2",
  217. "@types/validator": "^13.9.0",
  218. "@types/webtorrent": "^0.109.0",
  219. "@types/ws": "^8.2.0",
  220. "@types/yauzl": "^2.10.3",
  221. "@typescript-eslint/eslint-plugin": "^7.0.2",
  222. "autocannon": "^7.0.4",
  223. "chai": "^5.1.0",
  224. "chai-json-schema": "^1.5.0",
  225. "chai-xml": "^0.4.0",
  226. "concurrently": "^8.0.1",
  227. "depcheck": "^1.4.2",
  228. "esbuild": "^0.20.1",
  229. "eslint": "8.56.0",
  230. "eslint-config-standard-with-typescript": "43.0.1",
  231. "eslint-plugin-import": "^2.20.1",
  232. "eslint-plugin-n": "^16.0.0",
  233. "eslint-plugin-node": "^11.0.0",
  234. "eslint-plugin-promise": "^6.0.0",
  235. "fast-xml-parser": "^4.0.0-beta.8",
  236. "jpeg-js": "^0.4.4",
  237. "jszip": "^3.10.1",
  238. "mocha": "^10.0.0",
  239. "pixelmatch": "^5.3.0",
  240. "pngjs": "^7.0.0",
  241. "proxy": "^2.1.1",
  242. "socket.io-client": "^4.5.4",
  243. "supertest": "^6.0.1",
  244. "swagger-cli": "^4.0.2",
  245. "tsc-watch": "^6.0.0",
  246. "tsx": "^4.7.1",
  247. "typescript": "~5.2"
  248. },
  249. "bundlewatch": {
  250. "files": [
  251. {
  252. "path": "client/dist/en-US/*.js",
  253. "maxSize": "1mb"
  254. },
  255. {
  256. "path": "client/dist/standalone/videos/video-embed.bundle.js",
  257. "maxSize": "1mb"
  258. },
  259. {
  260. "path": "client/dist/standalone/videos/video-embed.css",
  261. "maxSize": "1mb"
  262. }
  263. ]
  264. }
  265. }