package.json 6.5 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": "1.3.1",
  5. "private": true,
  6. "licence": "AGPLv3",
  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_PARALLEL=true scripty",
  28. "build:server": "scripty",
  29. "build:client": "scripty",
  30. "clean:client": "scripty",
  31. "clean:server": "scripty",
  32. "clean:server:test": "scripty",
  33. "watch:client": "scripty",
  34. "watch:server": "scripty",
  35. "danger:clean:dev": "scripty",
  36. "danger:clean:prod": "scripty",
  37. "danger:clean:modules": "scripty",
  38. "i18n:generate": "scripty",
  39. "i18n:xliff2json": "node ./dist/scripts/i18n/xliff2json.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": "scripty",
  44. "dev:server": "scripty",
  45. "dev:client": "scripty",
  46. "start": "node dist/server",
  47. "start:server": "node dist/server --no-client",
  48. "update-host": "node ./dist/scripts/update-host.js",
  49. "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js",
  50. "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
  51. "test": "scripty",
  52. "help": "scripty",
  53. "generate-cli-doc": "scripty",
  54. "parse-log": "node ./dist/scripts/parse-log.js",
  55. "prune-storage": "node ./dist/scripts/prune-storage.js",
  56. "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js",
  57. "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)",
  58. "tsc": "tsc",
  59. "commander": "commander",
  60. "lint": "npm run travis -- lint",
  61. "ng": "ng",
  62. "nodemon": "nodemon",
  63. "ts-node": "ts-node",
  64. "tslint": "tslint",
  65. "concurrently": "concurrently",
  66. "sasslint": "sass-lint --verbose --no-exit",
  67. "sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose",
  68. "mocha": "mocha",
  69. "travis": "scripty",
  70. "release": "scripty",
  71. "client-report": "scripty"
  72. },
  73. "husky": {
  74. "hooks": {
  75. "pre-commit": "lint-staged"
  76. }
  77. },
  78. "lint-staged": {
  79. "*.scss": [
  80. "sass-lint -c client/.sass-lint.yml",
  81. "git add"
  82. ],
  83. "support/doc/api/*.yaml": [
  84. "node ./node_modules/swagger-cli/bin/swagger-cli.js validate support/doc/api/openapi.yaml",
  85. "git add"
  86. ],
  87. "server/tools/README.md": [
  88. "npm run generate-cli-doc",
  89. "git add"
  90. ]
  91. },
  92. "resolutions": {
  93. "@types/bluebird": "3.5.21"
  94. },
  95. "dependencies": {
  96. "apicache": "^1.4.0",
  97. "async": "^3.0.1",
  98. "async-lru": "^1.1.1",
  99. "bcrypt": "3.0.6",
  100. "bittorrent-tracker": "^9.0.0",
  101. "bluebird": "^3.5.0",
  102. "body-parser": "^1.12.4",
  103. "bull": "^3.4.2",
  104. "bytes": "^3.0.0",
  105. "commander": "^2.13.0",
  106. "config": "^3.0.0",
  107. "cookie-parser": "^1.4.3",
  108. "cors": "^2.8.1",
  109. "create-torrent": "^3.24.5",
  110. "deep-object-diff": "^1.1.0",
  111. "express": "^4.12.4",
  112. "express-oauth-server": "^2.0.0",
  113. "express-rate-limit": "^4.0.4",
  114. "express-validator": "^5.0.0",
  115. "flat": "^4.1.0",
  116. "fluent-ffmpeg": "^2.1.0",
  117. "fs-extra": "^8.0.1",
  118. "helmet": "^3.12.1",
  119. "http-signature": "^1.2.0",
  120. "ip-anonymize": "^0.1.0",
  121. "ipaddr.js": "1.9.0",
  122. "is-cidr": "^3.0.0",
  123. "iso-639-3": "^1.0.1",
  124. "js-yaml": "^3.5.4",
  125. "jsonld": "~1.1.0",
  126. "jsonld-signatures": "https://github.com/Chocobozzz/jsonld-signatures#rsa2017",
  127. "lodash": "^4.17.10",
  128. "magnet-uri": "^5.1.4",
  129. "memoizee": "^0.4.14",
  130. "morgan": "^1.5.3",
  131. "multer": "^1.1.0",
  132. "nodemailer": "^6.0.0",
  133. "parse-torrent": "^6.0.0",
  134. "password-generator": "^2.0.2",
  135. "pem": "^1.12.3",
  136. "pfeed": "^1.1.6",
  137. "pg": "^7.4.1",
  138. "prompt": "^1.0.0",
  139. "redis": "^2.8.0",
  140. "reflect-metadata": "^0.1.12",
  141. "request": "^2.81.0",
  142. "scripty": "^1.5.0",
  143. "sequelize": "5.8.7",
  144. "sequelize-typescript": "1.0.0-beta.2",
  145. "sharp": "^0.22.0",
  146. "sitemap": "^2.1.0",
  147. "socket.io": "^2.2.0",
  148. "srt-to-vtt": "^1.1.2",
  149. "useragent": "^2.3.0",
  150. "uuid": "^3.1.0",
  151. "validator": "^11.0.0",
  152. "webfinger.js": "^2.6.6",
  153. "webtorrent": "^0.103.0",
  154. "winston": "3.2.1",
  155. "ws": "^7.0.0",
  156. "youtube-dl": "^2.0.0"
  157. },
  158. "devDependencies": {
  159. "@types/apicache": "^1.2.0",
  160. "@types/async": "^3.0.0",
  161. "@types/async-lock": "^1.1.0",
  162. "@types/bcrypt": "^3.0.0",
  163. "@types/bluebird": "3.5.21",
  164. "@types/body-parser": "^1.16.3",
  165. "@types/bull": "3.4.0",
  166. "@types/bytes": "^3.0.0",
  167. "@types/chai": "^4.0.4",
  168. "@types/chai-json-schema": "^1.4.3",
  169. "@types/chai-xml": "^0.3.1",
  170. "@types/config": "^0.0.34",
  171. "@types/express": "^4.0.35",
  172. "@types/express-rate-limit": "^3.3.0",
  173. "@types/fluent-ffmpeg": "^2.1.8",
  174. "@types/fs-extra": "^7.0.0",
  175. "@types/libxmljs": "^0.18.0",
  176. "@types/lodash": "^4.14.64",
  177. "@types/magnet-uri": "^5.1.1",
  178. "@types/maildev": "^0.0.1",
  179. "@types/memoizee": "^0.4.2",
  180. "@types/mkdirp": "^0.5.1",
  181. "@types/mocha": "^5.0.0",
  182. "@types/morgan": "^1.7.32",
  183. "@types/multer": "^1.3.3",
  184. "@types/node": "^10.0.8",
  185. "@types/nodemailer": "^6.2.0",
  186. "@types/oauth2-server": "^3.0.8",
  187. "@types/pem": "^1.9.3",
  188. "@types/redis": "^2.8.5",
  189. "@types/request": "^2.0.3",
  190. "@types/sharp": "^0.22.1",
  191. "@types/socket.io": "^2.1.2",
  192. "@types/supertest": "^2.0.3",
  193. "@types/validator": "^10.9.0",
  194. "@types/webtorrent": "^0.98.4",
  195. "@types/ws": "^6.0.0",
  196. "chai": "^4.1.1",
  197. "chai-json-schema": "^1.5.0",
  198. "chai-xml": "^0.3.2",
  199. "concurrently": "^4.1.0",
  200. "husky": "^2.4.0",
  201. "libxmljs": "0.19.5",
  202. "lint-staged": "^8.0.4",
  203. "maildev": "^1.0.0-rc3",
  204. "marked-man": "^0.6.0",
  205. "mocha": "^6.0.0",
  206. "mocha-parallel-tests": "^2.1.0",
  207. "nodemon": "^1.18.6",
  208. "sass-lint": "^1.12.1",
  209. "source-map-support": "^0.5.0",
  210. "supertest": "^4.0.2",
  211. "swagger-cli": "^2.2.0",
  212. "ts-node": "8.2.0",
  213. "tslint": "^5.7.0",
  214. "tslint-config-standard": "^8.0.1",
  215. "typescript": "^3.4.3",
  216. "xliff": "^4.0.0"
  217. },
  218. "scripty": {
  219. "silent": true
  220. },
  221. "sasslintConfig": "client/.sass-lint.yml"
  222. }