2
1

package.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. {
  2. "name": "peertube",
  3. "description": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.",
  4. "version": "5.0.1",
  5. "private": true,
  6. "licence": "AGPL-3.0",
  7. "engines": {
  8. "node": ">=12.x",
  9. "yarn": ">=1.x"
  10. },
  11. "bin": {
  12. "peertube": "dist/server/tools/peertube.js"
  13. },
  14. "author": {
  15. "name": "Chocobozzz",
  16. "email": "chocobozzz@framasoft.org",
  17. "url": "http://github.com/Chocobozzz"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "git+https://github.com/Chocobozzz/PeerTube.git"
  22. },
  23. "typings": "*.d.ts",
  24. "scripts": {
  25. "e2e:browserstack": "bash ./scripts/e2e/browserstack.sh",
  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",
  32. "clean:client": "bash ./scripts/clean/client/index.sh",
  33. "clean:server:test": "bash ./scripts/clean/server/test.sh",
  34. "i18n:update": "bash ./scripts/i18n/update.sh",
  35. "plugin:install": "node ./dist/scripts/plugin/install.js",
  36. "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js",
  37. "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js",
  38. "reset-password": "node ./dist/scripts/reset-password.js",
  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:cli": "bash ./scripts/dev/cli.sh",
  44. "start": "node dist/server",
  45. "start:server": "node dist/server --no-client",
  46. "update-host": "node ./dist/scripts/update-host.js",
  47. "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js",
  48. "regenerate-thumbnails": "node ./dist/scripts/regenerate-thumbnails.js",
  49. "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
  50. "create-move-video-storage-job": "node ./dist/scripts/create-move-video-storage-job.js",
  51. "print-transcode-command": "node ./dist/scripts/print-transcode-command.js",
  52. "test": "bash ./scripts/test.sh",
  53. "help": "bash ./scripts/help.sh",
  54. "generate-cli-doc": "bash ./scripts/generate-cli-doc.sh",
  55. "generate-types-package": "ts-node ./packages/types/generate-package.ts",
  56. "parse-log": "node ./dist/scripts/parse-log.js",
  57. "prune-storage": "node ./dist/scripts/prune-storage.js",
  58. "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)",
  59. "tsc": "tsc",
  60. "commander": "commander",
  61. "lint": "npm run ci -- lint",
  62. "ng": "ng",
  63. "ts-node": "ts-node",
  64. "eslint": "eslint",
  65. "resolve-tspaths": "resolve-tspaths",
  66. "resolve-tspaths:server": "npm run resolve-tspaths -- --project tsconfig.json --src . --out dist",
  67. "concurrently": "concurrently",
  68. "mocha": "mocha",
  69. "ci": "bash ./scripts/ci.sh",
  70. "release": "bash ./scripts/release.sh",
  71. "release-embed-api": "bash ./scripts/release-embed-api.sh",
  72. "nightly": "bash ./scripts/nightly.sh",
  73. "openapi-clients": "bash ./scripts/openapi-clients.sh",
  74. "client-report": "bash ./scripts/client-report.sh",
  75. "swagger-cli": "swagger-cli"
  76. },
  77. "dependencies": {
  78. "@aws-sdk/client-s3": "^3.190.0",
  79. "@aws-sdk/lib-storage": "^3.190.0",
  80. "@aws-sdk/node-http-handler": "^3.190.0",
  81. "@babel/parser": "^7.17.8",
  82. "@node-oauth/oauth2-server": "^4.2.0",
  83. "@opentelemetry/api": "^1.1.0",
  84. "@opentelemetry/exporter-jaeger": "^1.3.1",
  85. "@opentelemetry/exporter-prometheus": "~0.34.0",
  86. "@opentelemetry/instrumentation": "^0.34.0",
  87. "@opentelemetry/instrumentation-dns": "^0.30.0",
  88. "@opentelemetry/instrumentation-express": "^0.31.0",
  89. "@opentelemetry/instrumentation-fs": "^0.5.0",
  90. "@opentelemetry/instrumentation-http": "^0.34.0",
  91. "@opentelemetry/instrumentation-ioredis": "^0.32.2",
  92. "@opentelemetry/instrumentation-pg": "^0.32.0",
  93. "@opentelemetry/resources": "^1.3.1",
  94. "@opentelemetry/sdk-metrics": "^1.8.0",
  95. "@opentelemetry/sdk-trace-base": "^1.3.1",
  96. "@opentelemetry/sdk-trace-node": "^1.3.1",
  97. "@opentelemetry/semantic-conventions": "^1.3.1",
  98. "@peertube/feed": "^5.0.1",
  99. "@peertube/http-signature": "^1.7.0",
  100. "@uploadx/core": "^6.0.0",
  101. "async-lru": "^1.1.1",
  102. "async-mutex": "^0.4.0",
  103. "bcrypt": "5.1.0",
  104. "bencode": "^2.0.2",
  105. "bittorrent-tracker": "^9.0.0",
  106. "bluebird": "^3.5.0",
  107. "bullmq": "^1.87.0",
  108. "bytes": "^3.0.0",
  109. "chokidar": "^3.4.2",
  110. "commander": "^9.0.0",
  111. "config": "^3.0.0",
  112. "cookie-parser": "^1.4.3",
  113. "cors": "^2.8.1",
  114. "create-torrent": "^5.0.0",
  115. "deep-object-diff": "^1.1.0",
  116. "email-templates": "^10.0.0",
  117. "execa": "^5.1.1",
  118. "express": "^4.18.1",
  119. "express-rate-limit": "^6.1.0",
  120. "express-validator": "^6.4.0",
  121. "flat": "^5.0.0",
  122. "fluent-ffmpeg": "^2.1.0",
  123. "fs-extra": "^10.0.0",
  124. "got": "^11.8.2",
  125. "helmet": "^6.0.0",
  126. "hpagent": "^1.0.0",
  127. "http-problem-details": "^0.1.5",
  128. "ioredis": "^5.2.3",
  129. "ip-anonymize": "^0.1.0",
  130. "ipaddr.js": "2.0.1",
  131. "is-cidr": "^4.0.0",
  132. "iso-639-3": "2.2.0",
  133. "jimp": "^0.16.2",
  134. "js-yaml": "^4.0.0",
  135. "jsonld": "~8.1.0",
  136. "lodash": "^4.17.10",
  137. "lru-cache": "^7.13.0",
  138. "magnet-uri": "^6.1.0",
  139. "markdown-it": "^13.0.1",
  140. "markdown-it-emoji": "^2.0.0",
  141. "maxmind": "^4.3.6",
  142. "memoizee": "^0.4.14",
  143. "morgan": "^1.5.3",
  144. "multer": "^1.4.5-lts.1",
  145. "node-media-server": "^2.1.4",
  146. "nodemailer": "^6.0.0",
  147. "opentelemetry-instrumentation-sequelize": "^0.32.0",
  148. "otpauth": "^9.0.2",
  149. "p-queue": "^6",
  150. "parse-torrent": "^9.1.0",
  151. "password-generator": "^2.0.2",
  152. "pg": "^8.2.1",
  153. "piscina": "^3.2.0",
  154. "prompt": "^1.0.0",
  155. "proxy-addr": "^2.0.7",
  156. "pug": "^3.0.0",
  157. "reflect-metadata": "^0.1.12",
  158. "sanitize-html": "2.x",
  159. "sequelize": "6.25.5",
  160. "sequelize-typescript": "^2.0.0-beta.1",
  161. "short-uuid": "^4.2.0",
  162. "sitemap": "^7.0.0",
  163. "socket.io": "^4.5.4",
  164. "sql-formatter": "^12.0.1",
  165. "srt-to-vtt": "^1.1.2",
  166. "tsconfig-paths": "^4.0.0",
  167. "tslib": "^2.0.0",
  168. "useragent": "^2.3.0",
  169. "validator": "^13.0.0",
  170. "webfinger.js": "^2.6.6",
  171. "webtorrent": "^1.0.0",
  172. "winston": "3.8.2",
  173. "ws": "^8.0.0"
  174. },
  175. "devDependencies": {
  176. "@peertube/maildev": "^1.2.0",
  177. "@types/bcrypt": "^5.0.0",
  178. "@types/bencode": "^2.0.0",
  179. "@types/bluebird": "^3.5.33",
  180. "@types/body-parser": "^1.16.3",
  181. "@types/bytes": "^3.0.0",
  182. "@types/chai": "^4.0.4",
  183. "@types/chai-json-schema": "^1.4.3",
  184. "@types/chai-xml": "^0.3.1",
  185. "@types/config": "^3.3.0",
  186. "@types/create-torrent": "^5.0.0",
  187. "@types/express": "4.17.9",
  188. "@types/fluent-ffmpeg": "^2.1.16",
  189. "@types/fs-extra": "^9.0.1",
  190. "@types/lodash": "^4.14.64",
  191. "@types/magnet-uri": "^5.1.1",
  192. "@types/maildev": "^0.0.3",
  193. "@types/memoizee": "^0.4.2",
  194. "@types/mkdirp": "^1.0.0",
  195. "@types/mocha": "^10.0.0",
  196. "@types/morgan": "^1.7.32",
  197. "@types/multer": "^1.3.3",
  198. "@types/node": "^14.14.31",
  199. "@types/nodemailer": "^6.2.0",
  200. "@types/oauth2-server": "^3.0.8",
  201. "@types/request": "^2.0.3",
  202. "@types/supertest": "^2.0.3",
  203. "@types/validator": "^13.0.0",
  204. "@types/webtorrent": "^0.109.0",
  205. "@types/ws": "^8.2.0",
  206. "@typescript-eslint/eslint-plugin": "^5.0.0",
  207. "autocannon": "^7.0.4",
  208. "chai": "^4.1.1",
  209. "chai-json-schema": "^1.5.0",
  210. "chai-xml": "^0.4.0",
  211. "concurrently": "^7.0.0",
  212. "depcheck": "^1.4.2",
  213. "eslint": "^8.0.0",
  214. "eslint-config-standard-with-typescript": "^23.0.0",
  215. "eslint-plugin-import": "^2.20.1",
  216. "eslint-plugin-n": "^15.2.4",
  217. "eslint-plugin-node": "^11.0.0",
  218. "eslint-plugin-promise": "^6.0.0",
  219. "fast-xml-parser": "^4.0.0-beta.8",
  220. "mocha": "^10.0.0",
  221. "proxy": "^1.0.2",
  222. "resolve-tspaths": "^0.7.0",
  223. "socket.io-client": "^4.5.4",
  224. "supertest": "^6.0.1",
  225. "swagger-cli": "^4.0.2",
  226. "ts-node": "^10.8.1",
  227. "tsc-watch": "^5.0.3",
  228. "typescript": "~4.8"
  229. },
  230. "bundlewatch": {
  231. "files": [
  232. {
  233. "path": "client/dist/en-US/*.js",
  234. "maxSize": "1mb"
  235. },
  236. {
  237. "path": "client/dist/standalone/videos/video-embed.bundle.js",
  238. "maxSize": "1mb"
  239. },
  240. {
  241. "path": "client/dist/standalone/videos/video-embed.css",
  242. "maxSize": "1mb"
  243. }
  244. ]
  245. }
  246. }