package.json 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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.0.0",
  5. "private": true,
  6. "licence": "AGPL-3.0",
  7. "engines": {
  8. "node": ">=8.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:xliff2json": "node ./dist/scripts/i18n/xliff2json.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": "scripty",
  45. "dev:server": "scripty",
  46. "dev:embed": "scripty",
  47. "dev:client": "scripty",
  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. "tslint": "tslint",
  68. "concurrently": "concurrently",
  69. "mocha-parallel-tests": "mocha-parallel-tests",
  70. "sasslint": "sass-lint --verbose --no-exit",
  71. "sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose",
  72. "mocha": "mocha",
  73. "ci": "scripty",
  74. "release": "scripty",
  75. "release-embed-api": "scripty",
  76. "nightly": "scripty",
  77. "client-report": "scripty",
  78. "swagger-cli": "swagger-cli",
  79. "sass-lint": "sass-lint"
  80. },
  81. "resolutions": {
  82. "@types/bluebird": "3.5.27"
  83. },
  84. "dependencies": {
  85. "apicache": "^1.4.0",
  86. "async": "^3.0.1",
  87. "async-lru": "^1.1.1",
  88. "bcrypt": "3.0.7",
  89. "bittorrent-tracker": "^9.0.0",
  90. "bluebird": "^3.5.0",
  91. "body-parser": "^1.12.4",
  92. "bull": "^3.4.2",
  93. "bytes": "^3.0.0",
  94. "commander": "^4.0.1",
  95. "config": "^3.0.0",
  96. "cookie-parser": "^1.4.3",
  97. "cors": "^2.8.1",
  98. "create-torrent": "^4.0.0",
  99. "deep-object-diff": "^1.1.0",
  100. "express": "^4.12.4",
  101. "express-oauth-server": "^2.0.0",
  102. "express-rate-limit": "^4.0.4",
  103. "express-validator": "^6.1.1",
  104. "flat": "^5.0.0",
  105. "fluent-ffmpeg": "^2.1.0",
  106. "fs-extra": "^8.0.1",
  107. "helmet": "^3.12.1",
  108. "http-signature": "1.3.1",
  109. "ip-anonymize": "^0.1.0",
  110. "ipaddr.js": "1.9.1",
  111. "is-cidr": "^3.0.0",
  112. "iso-639-3": "^1.0.1",
  113. "js-yaml": "^3.5.4",
  114. "jsonld": "~2.0.1",
  115. "lodash": "^4.17.10",
  116. "lru-cache": "^5.1.1",
  117. "magnet-uri": "^5.1.4",
  118. "memoizee": "^0.4.14",
  119. "morgan": "^1.5.3",
  120. "multer": "^1.1.0",
  121. "nodemailer": "^6.0.0",
  122. "parse-torrent": "^7.0.0",
  123. "password-generator": "^2.0.2",
  124. "pem": "^1.12.3",
  125. "pfeed": "1.1.11",
  126. "pg": "^7.4.1",
  127. "prompt": "^1.0.0",
  128. "redis": "^2.8.0",
  129. "reflect-metadata": "^0.1.12",
  130. "request": "^2.81.0",
  131. "scripty": "^1.5.0",
  132. "sequelize": "5.21.3",
  133. "sequelize-typescript": "^1.0.0-beta.4",
  134. "sharp": "^0.23.3",
  135. "sitemap": "^5.0.0",
  136. "socket.io": "^2.2.0",
  137. "srt-to-vtt": "^1.1.2",
  138. "tsconfig-paths": "^3.9.0",
  139. "useragent": "^2.3.0",
  140. "uuid": "^3.1.0",
  141. "validator": "^12.1.0",
  142. "webfinger.js": "^2.6.6",
  143. "webtorrent": "^0.107.16",
  144. "winston": "3.2.1",
  145. "ws": "^7.0.0",
  146. "youtube-dl": "^2.0.0"
  147. },
  148. "devDependencies": {
  149. "@types/apicache": "^1.2.0",
  150. "@types/async": "^3.0.0",
  151. "@types/async-lock": "^1.1.0",
  152. "@types/bcrypt": "^3.0.0",
  153. "@types/bluebird": "3.5.21",
  154. "@types/body-parser": "^1.16.3",
  155. "@types/bull": "3.4.0",
  156. "@types/bytes": "^3.0.0",
  157. "@types/chai": "^4.0.4",
  158. "@types/chai-json-schema": "^1.4.3",
  159. "@types/chai-xml": "^0.3.1",
  160. "@types/config": "^0.0.36",
  161. "@types/express": "^4.0.35",
  162. "@types/express-rate-limit": "^3.3.0",
  163. "@types/fluent-ffmpeg": "^2.1.8",
  164. "@types/fs-extra": "^8.0.0",
  165. "@types/libxmljs": "^0.18.0",
  166. "@types/lodash": "^4.14.64",
  167. "@types/lru-cache": "^5.1.0",
  168. "@types/magnet-uri": "^5.1.1",
  169. "@types/maildev": "^0.0.1",
  170. "@types/memoizee": "^0.4.2",
  171. "@types/mkdirp": "^0.5.1",
  172. "@types/mocha": "^5.0.0",
  173. "@types/morgan": "^1.7.32",
  174. "@types/multer": "^1.3.3",
  175. "@types/node": "^10.0.8",
  176. "@types/nodemailer": "^6.2.0",
  177. "@types/oauth2-server": "^3.0.8",
  178. "@types/pem": "^1.9.3",
  179. "@types/redis": "^2.8.5",
  180. "@types/request": "^2.0.3",
  181. "@types/sharp": "^0.23.0",
  182. "@types/socket.io": "^2.1.2",
  183. "@types/supertest": "^2.0.3",
  184. "@types/validator": "^12.0.1",
  185. "@types/webtorrent": "^0.107.0",
  186. "@types/ws": "^6.0.0",
  187. "chai": "^4.1.1",
  188. "chai-json-schema": "^1.5.0",
  189. "chai-xml": "^0.3.2",
  190. "concurrently": "^5.0.0",
  191. "libxmljs": "0.19.7",
  192. "lint-staged": "^9.2.0",
  193. "maildev": "^1.0.0-rc3",
  194. "marked": "^0.8.0",
  195. "marked-man": "^0.7.0",
  196. "mocha": "^7.0.0",
  197. "mocha-parallel-tests": "^2.2.1",
  198. "nodemon": "^2.0.1",
  199. "source-map-support": "^0.5.0",
  200. "supertest": "^4.0.2",
  201. "swagger-cli": "^2.2.0",
  202. "ts-node": "8.5.4",
  203. "tslint": "^5.7.0",
  204. "tslint-config-standard": "^9.0.0",
  205. "typescript": "^3.7.2",
  206. "xliff": "^4.0.0"
  207. },
  208. "scripty": {
  209. "silent": true
  210. },
  211. "sasslintConfig": "client/.sass-lint.yml",
  212. "_moduleAliases": {
  213. "@server": "dist/server"
  214. }
  215. }