package.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. {
  2. "name": "peertube",
  3. "description": "Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.",
  4. "version": "2.2.0",
  5. "private": true,
  6. "licence": "AGPL-3.0",
  7. "engines": {
  8. "node": ">=10.x <13",
  9. "yarn": ">=1.x"
  10. },
  11. "bin": {
  12. "peertube": "dist/server/tools/peertube.js"
  13. },
  14. "author": {
  15. "name": "Chocobozzz",
  16. "email": "chocobozzz@cpy.re",
  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": "scripty",
  26. "e2e:local": "scripty",
  27. "setup:cli": "scripty",
  28. "build": "scripty",
  29. "build:embed": "scripty",
  30. "build:server": "scripty",
  31. "build:client": "scripty",
  32. "clean:client": "scripty",
  33. "clean:server": "scripty",
  34. "clean:server:test": "scripty",
  35. "danger:clean:dev": "scripty",
  36. "danger:clean:prod": "scripty",
  37. "danger:clean:modules": "scripty",
  38. "i18n:generate": "scripty",
  39. "plugin:install": "node ./dist/scripts/plugin/install.js",
  40. "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js",
  41. "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js",
  42. "reset-password": "node ./dist/scripts/reset-password.js",
  43. "play": "scripty",
  44. "dev": "sh ./scripts/dev/index.sh",
  45. "dev:server": "sh ./scripts/dev/server.sh",
  46. "dev:embed": "scripty",
  47. "dev:client": "sh ./scripts/dev/client.sh",
  48. "dev:cli": "scripty",
  49. "start": "node dist/server",
  50. "start:server": "node dist/server --no-client",
  51. "update-host": "node ./dist/scripts/update-host.js",
  52. "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js",
  53. "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
  54. "test": "scripty",
  55. "help": "scripty",
  56. "generate-cli-doc": "scripty",
  57. "parse-log": "node ./dist/scripts/parse-log.js",
  58. "prune-storage": "node ./dist/scripts/prune-storage.js",
  59. "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js",
  60. "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)",
  61. "tsc": "tsc",
  62. "commander": "commander",
  63. "lint": "npm run ci -- lint",
  64. "ng": "ng",
  65. "nodemon": "nodemon",
  66. "ts-node": "ts-node",
  67. "eslint": "eslint",
  68. "concurrently": "concurrently",
  69. "sasslint": "sass-lint --verbose --no-exit",
  70. "sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose",
  71. "mocha": "mocha",
  72. "ci": "scripty",
  73. "release": "scripty",
  74. "release-embed-api": "scripty",
  75. "nightly": "scripty",
  76. "openapi-clients": "scripty",
  77. "client-report": "scripty",
  78. "swagger-cli": "swagger-cli",
  79. "sass-lint": "sass-lint"
  80. },
  81. "resolutions": {
  82. "oauth2-server": "^3.1.0-beta.1",
  83. "http-signature": "1.3.4"
  84. },
  85. "dependencies": {
  86. "apicache": "^1.4.0",
  87. "async": "^3.0.1",
  88. "async-lru": "^1.1.1",
  89. "bcrypt": "5.0.0",
  90. "bittorrent-tracker": "^9.0.0",
  91. "bluebird": "^3.5.0",
  92. "body-parser": "^1.12.4",
  93. "bull": "^3.4.2",
  94. "bytes": "^3.0.0",
  95. "commander": "^5.0.0",
  96. "config": "^3.0.0",
  97. "cookie-parser": "^1.4.3",
  98. "cors": "^2.8.1",
  99. "create-torrent": "^4.0.0",
  100. "deep-object-diff": "^1.1.0",
  101. "email-templates": "^7.0.4",
  102. "express": "^4.12.4",
  103. "express-oauth-server": "^2.0.0",
  104. "express-rate-limit": "^5.0.0",
  105. "express-validator": "^6.4.0",
  106. "flat": "^5.0.0",
  107. "fluent-ffmpeg": "^2.1.0",
  108. "fs-extra": "^9.0.0",
  109. "helmet": "^3.12.1",
  110. "http-signature": "1.3.4",
  111. "ip-anonymize": "^0.1.0",
  112. "ipaddr.js": "1.9.1",
  113. "is-cidr": "^4.0.0",
  114. "iso-639-3": "^2.0.0",
  115. "jimp": "^0.13.0",
  116. "js-yaml": "^3.5.4",
  117. "jsonld": "~3.1.1",
  118. "lodash": "^4.17.10",
  119. "lru-cache": "^5.1.1",
  120. "magnet-uri": "^5.1.4",
  121. "memoizee": "^0.4.14",
  122. "morgan": "^1.5.3",
  123. "multer": "^1.1.0",
  124. "nodemailer": "^6.0.0",
  125. "oauth2-server": "3.1.0-beta.1",
  126. "parse-torrent": "^7.0.0",
  127. "password-generator": "^2.0.2",
  128. "pem": "^1.12.3",
  129. "pfeed": "1.1.11",
  130. "pg": "^8.2.1",
  131. "prompt": "^1.0.0",
  132. "pug": "^3.0.0",
  133. "redis": "^3.0.2",
  134. "reflect-metadata": "^0.1.12",
  135. "request": "^2.81.0",
  136. "scripty": "^2.0.0",
  137. "sequelize": "5.21.13",
  138. "sequelize-typescript": "^1.0.0-beta.4",
  139. "sitemap": "^6.1.0",
  140. "socket.io": "^2.2.0",
  141. "srt-to-vtt": "^1.1.2",
  142. "tsconfig-paths": "^3.9.0",
  143. "tslib": "^2.0.0",
  144. "useragent": "^2.3.0",
  145. "uuid": "^8.1.0",
  146. "validator": "^13.0.0",
  147. "webfinger.js": "^2.6.6",
  148. "webtorrent": "^0.108.6",
  149. "winston": "3.2.1",
  150. "ws": "^7.0.0",
  151. "youtube-dl": "^3.0.2"
  152. },
  153. "devDependencies": {
  154. "@openapitools/openapi-generator-cli": "^1.0.13-4.3.1",
  155. "@types/apicache": "^1.2.0",
  156. "@types/async": "^3.0.0",
  157. "@types/async-lock": "^1.1.0",
  158. "@types/bcrypt": "^3.0.0",
  159. "@types/bluebird": "3.5.32",
  160. "@types/body-parser": "^1.16.3",
  161. "@types/bull": "3.14.0",
  162. "@types/bytes": "^3.0.0",
  163. "@types/chai": "^4.0.4",
  164. "@types/chai-json-schema": "^1.4.3",
  165. "@types/chai-xml": "^0.3.1",
  166. "@types/config": "^0.0.36",
  167. "@types/express": "^4.0.35",
  168. "@types/express-rate-limit": "^5.0.0",
  169. "@types/fluent-ffmpeg": "^2.1.8",
  170. "@types/fs-extra": "^9.0.1",
  171. "@types/libxmljs": "^0.18.0",
  172. "@types/lodash": "^4.14.64",
  173. "@types/lru-cache": "^5.1.0",
  174. "@types/magnet-uri": "^5.1.1",
  175. "@types/maildev": "^0.0.1",
  176. "@types/memoizee": "^0.4.2",
  177. "@types/mkdirp": "^1.0.0",
  178. "@types/mocha": "^7.0.1",
  179. "@types/morgan": "^1.7.32",
  180. "@types/multer": "^1.3.3",
  181. "@types/node": "^14.0.13",
  182. "@types/nodemailer": "^6.2.0",
  183. "@types/oauth2-server": "^3.0.8",
  184. "@types/pem": "^1.9.3",
  185. "@types/redis": "^2.8.5",
  186. "@types/request": "^2.0.3",
  187. "@types/socket.io": "^2.1.2",
  188. "@types/supertest": "^2.0.3",
  189. "@types/validator": "^13.0.0",
  190. "@types/webtorrent": "^0.107.0",
  191. "@types/ws": "^7.2.1",
  192. "@typescript-eslint/eslint-plugin": "^3.3.0",
  193. "chai": "^4.1.1",
  194. "chai-json-schema": "^1.5.0",
  195. "chai-xml": "^0.3.2",
  196. "concurrently": "^5.0.0",
  197. "eslint": "^7.2.0",
  198. "eslint-config-standard-with-typescript": "^18.0.2",
  199. "eslint-plugin-import": "^2.20.1",
  200. "eslint-plugin-node": "^11.0.0",
  201. "eslint-plugin-promise": "^4.2.1",
  202. "eslint-plugin-standard": "^4.0.1",
  203. "libxmljs": "0.19.7",
  204. "maildev": "^1.0.0-rc3",
  205. "marked": "^1.1.0",
  206. "marked-man": "^0.7.0",
  207. "mocha": "^8.0.1",
  208. "nodemon": "^2.0.1",
  209. "source-map-support": "^0.5.0",
  210. "supertest": "^4.0.2",
  211. "swagger-cli": "^4.0.2",
  212. "ts-node": "8.10.2",
  213. "typescript": "^3.7.2"
  214. },
  215. "scripty": {
  216. "silent": true
  217. },
  218. "sasslintConfig": "client/.sass-lint.yml",
  219. "_moduleAliases": {
  220. "@server": "dist/server"
  221. }
  222. }