package.json 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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.1.1",
  5. "private": true,
  6. "licence": "AGPL-3.0",
  7. "engines": {
  8. "node": ">=10.x"
  9. },
  10. "bin": {
  11. "peertube": "dist/server/tools/peertube.js"
  12. },
  13. "author": {
  14. "name": "Chocobozzz",
  15. "email": "chocobozzz@cpy.re",
  16. "url": "http://github.com/Chocobozzz"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "git+https://github.com/Chocobozzz/PeerTube.git"
  21. },
  22. "typings": "*.d.ts",
  23. "scripts": {
  24. "e2e": "scripty",
  25. "e2e:local": "scripty",
  26. "setup:cli": "scripty",
  27. "build": "scripty",
  28. "build:embed": "scripty",
  29. "build:server": "scripty",
  30. "build:client": "scripty",
  31. "clean:client": "scripty",
  32. "clean:server": "scripty",
  33. "clean:server:test": "scripty",
  34. "danger:clean:dev": "scripty",
  35. "danger:clean:prod": "scripty",
  36. "danger:clean:modules": "scripty",
  37. "i18n:generate": "scripty",
  38. "plugin:install": "node ./dist/scripts/plugin/install.js",
  39. "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js",
  40. "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js",
  41. "reset-password": "node ./dist/scripts/reset-password.js",
  42. "play": "scripty",
  43. "dev": "sh ./scripts/dev/index.sh",
  44. "dev:server": "sh ./scripts/dev/server.sh",
  45. "dev:embed": "scripty",
  46. "dev:client": "sh ./scripts/dev/client.sh",
  47. "dev:cli": "scripty",
  48. "start": "node dist/server",
  49. "start:server": "node dist/server --no-client",
  50. "update-host": "node ./dist/scripts/update-host.js",
  51. "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js",
  52. "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
  53. "test": "scripty",
  54. "help": "scripty",
  55. "generate-cli-doc": "scripty",
  56. "parse-log": "node ./dist/scripts/parse-log.js",
  57. "prune-storage": "node ./dist/scripts/prune-storage.js",
  58. "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js",
  59. "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)",
  60. "tsc": "tsc",
  61. "commander": "commander",
  62. "lint": "npm run ci -- lint",
  63. "ng": "ng",
  64. "nodemon": "nodemon",
  65. "ts-node": "ts-node",
  66. "eslint": "eslint",
  67. "concurrently": "concurrently",
  68. "mocha-parallel-tests": "mocha-parallel-tests",
  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.2"
  84. },
  85. "dependencies": {
  86. "apicache": "^1.4.0",
  87. "async": "^3.0.1",
  88. "async-lru": "^1.1.1",
  89. "bcrypt": "4.0.1",
  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. "express": "^4.12.4",
  102. "express-oauth-server": "^2.0.0",
  103. "express-rate-limit": "^5.0.0",
  104. "express-validator": "^6.4.0",
  105. "flat": "^5.0.0",
  106. "fluent-ffmpeg": "^2.1.0",
  107. "fs-extra": "^9.0.0",
  108. "helmet": "^3.12.1",
  109. "http-signature": "1.3.2",
  110. "ip-anonymize": "^0.1.0",
  111. "ipaddr.js": "1.9.1",
  112. "is-cidr": "^3.0.0",
  113. "iso-639-3": "^2.0.0",
  114. "js-yaml": "^3.5.4",
  115. "jsonld": "~3.0.1",
  116. "lodash": "^4.17.10",
  117. "lru-cache": "^5.1.1",
  118. "magnet-uri": "^5.1.4",
  119. "memoizee": "^0.4.14",
  120. "morgan": "^1.5.3",
  121. "multer": "^1.1.0",
  122. "nodemailer": "^6.0.0",
  123. "oauth2-server": "3.1.0-beta.1",
  124. "parse-torrent": "^7.0.0",
  125. "password-generator": "^2.0.2",
  126. "pem": "^1.12.3",
  127. "pfeed": "1.1.11",
  128. "pg": "^7.4.1",
  129. "prompt": "^1.0.0",
  130. "redis": "^3.0.2",
  131. "reflect-metadata": "^0.1.12",
  132. "request": "^2.81.0",
  133. "scripty": "^2.0.0",
  134. "sequelize": "5.21.5",
  135. "sequelize-typescript": "^1.0.0-beta.4",
  136. "sharp": "^0.25.2",
  137. "sitemap": "^6.1.0",
  138. "socket.io": "^2.2.0",
  139. "srt-to-vtt": "^1.1.2",
  140. "tsconfig-paths": "^3.9.0",
  141. "useragent": "^2.3.0",
  142. "uuid": "^7.0.1",
  143. "validator": "^13.0.0",
  144. "webfinger.js": "^2.6.6",
  145. "webtorrent": "^0.107.16",
  146. "winston": "3.2.1",
  147. "ws": "^7.0.0",
  148. "youtube-dl": "^3.0.2"
  149. },
  150. "devDependencies": {
  151. "@openapitools/openapi-generator-cli": "^1.0.12-4.3.0",
  152. "@types/apicache": "^1.2.0",
  153. "@types/async": "^3.0.0",
  154. "@types/async-lock": "^1.1.0",
  155. "@types/bcrypt": "^3.0.0",
  156. "@types/bluebird": "3.5.30",
  157. "@types/body-parser": "^1.16.3",
  158. "@types/bull": "3.12.1",
  159. "@types/bytes": "^3.0.0",
  160. "@types/chai": "^4.0.4",
  161. "@types/chai-json-schema": "^1.4.3",
  162. "@types/chai-xml": "^0.3.1",
  163. "@types/config": "^0.0.36",
  164. "@types/express": "^4.0.35",
  165. "@types/express-rate-limit": "^5.0.0",
  166. "@types/fluent-ffmpeg": "^2.1.8",
  167. "@types/fs-extra": "^8.0.0",
  168. "@types/libxmljs": "^0.18.0",
  169. "@types/lodash": "^4.14.64",
  170. "@types/lru-cache": "^5.1.0",
  171. "@types/magnet-uri": "^5.1.1",
  172. "@types/maildev": "^0.0.1",
  173. "@types/memoizee": "^0.4.2",
  174. "@types/mkdirp": "^1.0.0",
  175. "@types/mocha": "^7.0.1",
  176. "@types/morgan": "^1.7.32",
  177. "@types/multer": "^1.3.3",
  178. "@types/node": "^10.0.8",
  179. "@types/nodemailer": "^6.2.0",
  180. "@types/oauth2-server": "^3.0.8",
  181. "@types/pem": "^1.9.3",
  182. "@types/redis": "^2.8.5",
  183. "@types/request": "^2.0.3",
  184. "@types/sharp": "^0.24.0",
  185. "@types/socket.io": "^2.1.2",
  186. "@types/supertest": "^2.0.3",
  187. "@types/validator": "^12.0.1",
  188. "@types/webtorrent": "^0.107.0",
  189. "@types/ws": "^7.2.1",
  190. "@typescript-eslint/eslint-plugin": "^2.18.0",
  191. "chai": "^4.1.1",
  192. "chai-json-schema": "^1.5.0",
  193. "chai-xml": "^0.3.2",
  194. "concurrently": "^5.0.0",
  195. "eslint": "^6.8.0",
  196. "eslint-config-standard-with-typescript": "^15.0.1",
  197. "eslint-plugin-import": "^2.20.1",
  198. "eslint-plugin-node": "^11.0.0",
  199. "eslint-plugin-promise": "^4.2.1",
  200. "eslint-plugin-standard": "^4.0.1",
  201. "libxmljs": "0.19.7",
  202. "maildev": "^1.0.0-rc3",
  203. "marked": "^0.8.0",
  204. "marked-man": "^0.7.0",
  205. "mocha": "^7.0.0",
  206. "mocha-parallel-tests": "^2.2.1",
  207. "nodemon": "^2.0.1",
  208. "source-map-support": "^0.5.0",
  209. "supertest": "^4.0.2",
  210. "swagger-cli": "^4.0.2",
  211. "ts-node": "8.8.1",
  212. "typescript": "^3.7.2"
  213. },
  214. "scripty": {
  215. "silent": true
  216. },
  217. "sasslintConfig": "client/.sass-lint.yml",
  218. "_moduleAliases": {
  219. "@server": "dist/server"
  220. }
  221. }