package.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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.0",
  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. "cli-table": "^0.3.1",
  106. "commander": "^2.13.0",
  107. "config": "^3.0.0",
  108. "cookie-parser": "^1.4.3",
  109. "cors": "^2.8.1",
  110. "create-torrent": "^3.24.5",
  111. "deep-object-diff": "^1.1.0",
  112. "express": "^4.12.4",
  113. "express-oauth-server": "^2.0.0",
  114. "express-rate-limit": "^4.0.4",
  115. "express-validator": "^5.0.0",
  116. "flat": "^4.1.0",
  117. "fluent-ffmpeg": "^2.1.0",
  118. "fs-extra": "^8.0.1",
  119. "helmet": "^3.12.1",
  120. "http-signature": "^1.2.0",
  121. "ip-anonymize": "^0.1.0",
  122. "ipaddr.js": "1.9.0",
  123. "is-cidr": "^3.0.0",
  124. "iso-639-3": "^1.0.1",
  125. "js-yaml": "^3.5.4",
  126. "jsonld": "~1.1.0",
  127. "jsonld-signatures": "https://github.com/Chocobozzz/jsonld-signatures#rsa2017",
  128. "lodash": "^4.17.10",
  129. "magnet-uri": "^5.1.4",
  130. "memoizee": "^0.4.14",
  131. "morgan": "^1.5.3",
  132. "multer": "^1.1.0",
  133. "netrc-parser": "^3.1.6",
  134. "nodemailer": "^6.0.0",
  135. "parse-torrent": "^6.0.0",
  136. "password-generator": "^2.0.2",
  137. "pem": "^1.12.3",
  138. "pfeed": "^1.1.6",
  139. "pg": "^7.4.1",
  140. "prompt": "^1.0.0",
  141. "redis": "^2.8.0",
  142. "reflect-metadata": "^0.1.12",
  143. "request": "^2.81.0",
  144. "scripty": "^1.5.0",
  145. "sequelize": "5.8.7",
  146. "sequelize-typescript": "1.0.0-beta.2",
  147. "sharp": "^0.22.0",
  148. "sitemap": "^2.1.0",
  149. "socket.io": "^2.2.0",
  150. "srt-to-vtt": "^1.1.2",
  151. "useragent": "^2.3.0",
  152. "uuid": "^3.1.0",
  153. "validator": "^11.0.0",
  154. "webfinger.js": "^2.6.6",
  155. "webtorrent": "^0.103.0",
  156. "winston": "3.2.1",
  157. "ws": "^7.0.0",
  158. "youtube-dl": "^2.0.0"
  159. },
  160. "devDependencies": {
  161. "@types/apicache": "^1.2.0",
  162. "@types/async": "^3.0.0",
  163. "@types/async-lock": "^1.1.0",
  164. "@types/bcrypt": "^3.0.0",
  165. "@types/bluebird": "3.5.21",
  166. "@types/body-parser": "^1.16.3",
  167. "@types/bull": "3.4.0",
  168. "@types/bytes": "^3.0.0",
  169. "@types/chai": "^4.0.4",
  170. "@types/chai-json-schema": "^1.4.3",
  171. "@types/chai-xml": "^0.3.1",
  172. "@types/config": "^0.0.34",
  173. "@types/express": "^4.0.35",
  174. "@types/express-rate-limit": "^3.3.0",
  175. "@types/fluent-ffmpeg": "^2.1.8",
  176. "@types/fs-extra": "^7.0.0",
  177. "@types/libxmljs": "^0.18.0",
  178. "@types/lodash": "^4.14.64",
  179. "@types/magnet-uri": "^5.1.1",
  180. "@types/maildev": "^0.0.1",
  181. "@types/memoizee": "^0.4.2",
  182. "@types/mkdirp": "^0.5.1",
  183. "@types/mocha": "^5.0.0",
  184. "@types/morgan": "^1.7.32",
  185. "@types/multer": "^1.3.3",
  186. "@types/node": "^10.0.8",
  187. "@types/nodemailer": "^6.2.0",
  188. "@types/oauth2-server": "^3.0.8",
  189. "@types/pem": "^1.9.3",
  190. "@types/redis": "^2.8.5",
  191. "@types/request": "^2.0.3",
  192. "@types/sharp": "^0.22.1",
  193. "@types/socket.io": "^2.1.2",
  194. "@types/supertest": "^2.0.3",
  195. "@types/validator": "^10.9.0",
  196. "@types/webtorrent": "^0.98.4",
  197. "@types/ws": "^6.0.0",
  198. "chai": "^4.1.1",
  199. "chai-json-schema": "^1.5.0",
  200. "chai-xml": "^0.3.2",
  201. "concurrently": "^4.1.0",
  202. "husky": "^2.4.0",
  203. "libxmljs": "0.19.5",
  204. "lint-staged": "^8.0.4",
  205. "maildev": "^1.0.0-rc3",
  206. "marked-man": "^0.6.0",
  207. "mocha": "^6.0.0",
  208. "mocha-parallel-tests": "^2.1.0",
  209. "nodemon": "^1.18.6",
  210. "sass-lint": "^1.12.1",
  211. "source-map-support": "^0.5.0",
  212. "supertest": "^4.0.2",
  213. "swagger-cli": "^2.2.0",
  214. "ts-node": "8.2.0",
  215. "tslint": "^5.7.0",
  216. "tslint-config-standard": "^8.0.1",
  217. "typescript": "^3.4.3",
  218. "xliff": "^4.0.0"
  219. },
  220. "scripty": {
  221. "silent": true
  222. },
  223. "sasslintConfig": "client/.sass-lint.yml"
  224. }