package.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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-rc.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. "build": "SCRIPTY_PARALLEL=true scripty",
  27. "build:server": "scripty",
  28. "build:client": "scripty",
  29. "clean:client": "scripty",
  30. "clean:server": "scripty",
  31. "clean:server:test": "scripty",
  32. "watch:client": "scripty",
  33. "watch:server": "scripty",
  34. "danger:clean:dev": "scripty",
  35. "danger:clean:prod": "scripty",
  36. "danger:clean:modules": "scripty",
  37. "i18n:generate": "scripty",
  38. "i18n:xliff2json": "node ./dist/scripts/i18n/xliff2json.js",
  39. "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js",
  40. "reset-password": "node ./dist/scripts/reset-password.js",
  41. "play": "scripty",
  42. "dev": "scripty",
  43. "dev:server": "scripty",
  44. "dev:client": "scripty",
  45. "start": "node dist/server",
  46. "start:server": "node dist/server --no-client",
  47. "update-host": "node ./dist/scripts/update-host.js",
  48. "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js",
  49. "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
  50. "test": "scripty",
  51. "help": "scripty",
  52. "generate-cli-doc": "scripty",
  53. "parse-log": "node ./dist/scripts/parse-log.js",
  54. "prune-storage": "node ./dist/scripts/prune-storage.js",
  55. "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js",
  56. "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)",
  57. "tsc": "tsc",
  58. "commander": "commander",
  59. "ng": "ng",
  60. "nodemon": "nodemon",
  61. "ts-node": "ts-node",
  62. "tslint": "tslint",
  63. "concurrently": "concurrently",
  64. "sasslint": "sass-lint --verbose --no-exit",
  65. "sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose",
  66. "mocha": "mocha",
  67. "travis": "scripty",
  68. "release": "scripty",
  69. "client-report": "scripty"
  70. },
  71. "husky": {
  72. "hooks": {
  73. "pre-commit": "lint-staged"
  74. }
  75. },
  76. "lint-staged": {
  77. "*.scss": [
  78. "sass-lint -c client/.sass-lint.yml",
  79. "git add"
  80. ],
  81. "support/doc/api/*.yaml": [
  82. "node ./node_modules/swagger-cli/bin/swagger-cli.js validate support/doc/api/openapi.yaml",
  83. "git add"
  84. ],
  85. "server/tools/README.md": [
  86. "npm run generate-cli-doc",
  87. "git add"
  88. ]
  89. },
  90. "resolutions": {
  91. "@types/bluebird": "3.5.21"
  92. },
  93. "dependencies": {
  94. "apicache": "^1.4.0",
  95. "application-config": "^1.0.1",
  96. "async": "^2.0.0",
  97. "async-lru": "^1.1.1",
  98. "bcrypt": "3.0.5",
  99. "bittorrent-tracker": "^9.0.0",
  100. "bluebird": "^3.5.0",
  101. "body-parser": "^1.12.4",
  102. "bull": "^3.4.2",
  103. "bytes": "^3.0.0",
  104. "cli-table": "^0.3.1",
  105. "commander": "^2.13.0",
  106. "concurrently": "^4.0.1",
  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": "^3.1.0",
  115. "express-validator": "^5.0.0",
  116. "flat": "^4.1.0",
  117. "fluent-ffmpeg": "^2.1.0",
  118. "fs-extra": "^7.0.0",
  119. "helmet": "^3.12.1",
  120. "http-signature": "^1.2.0",
  121. "ip-anonymize": "^0.0.6",
  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.7.4",
  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. "summon-install": "^0.4.3",
  152. "useragent": "^2.3.0",
  153. "uuid": "^3.1.0",
  154. "validator": "^10.2.0",
  155. "webfinger.js": "^2.6.6",
  156. "webtorrent": "^0.103.0",
  157. "winston": "3.2.1",
  158. "ws": "^6.0.0",
  159. "youtube-dl": "^1.12.2"
  160. },
  161. "devDependencies": {
  162. "@types/apicache": "^1.2.0",
  163. "@types/async": "^2.0.40",
  164. "@types/async-lock": "^1.1.0",
  165. "@types/bcrypt": "^3.0.0",
  166. "@types/bluebird": "3.5.21",
  167. "@types/body-parser": "^1.16.3",
  168. "@types/bull": "3.4.0",
  169. "@types/bytes": "^3.0.0",
  170. "@types/chai": "^4.0.4",
  171. "@types/chai-json-schema": "^1.4.3",
  172. "@types/chai-xml": "^0.3.1",
  173. "@types/config": "^0.0.34",
  174. "@types/express": "^4.0.35",
  175. "@types/express-rate-limit": "^3.3.0",
  176. "@types/fluent-ffmpeg": "^2.1.8",
  177. "@types/fs-extra": "^5.0.4",
  178. "@types/libxmljs": "^0.18.0",
  179. "@types/lodash": "^4.14.64",
  180. "@types/magnet-uri": "^5.1.1",
  181. "@types/maildev": "^0.0.1",
  182. "@types/memoizee": "^0.4.2",
  183. "@types/mkdirp": "^0.5.1",
  184. "@types/mocha": "^5.0.0",
  185. "@types/morgan": "^1.7.32",
  186. "@types/multer": "^1.3.3",
  187. "@types/node": "^10.0.8",
  188. "@types/nodemailer": "^4.3.1",
  189. "@types/oauth2-server": "^3.0.8",
  190. "@types/pem": "^1.9.3",
  191. "@types/redis": "^2.8.5",
  192. "@types/request": "^2.0.3",
  193. "@types/sharp": "^0.22.1",
  194. "@types/socket.io": "^2.1.2",
  195. "@types/supertest": "^2.0.3",
  196. "@types/validator": "^10.9.0",
  197. "@types/webtorrent": "^0.98.4",
  198. "@types/ws": "^6.0.0",
  199. "chai": "^4.1.1",
  200. "chai-json-schema": "^1.5.0",
  201. "chai-xml": "^0.3.2",
  202. "husky": "^1.0.0-rc.4",
  203. "libxmljs": "0.19.5",
  204. "lint-staged": "^8.0.4",
  205. "maildev": "^1.0.0-rc3",
  206. "marked-man": "^0.4.2",
  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.0.3",
  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. "summon": {
  224. "silent": true
  225. },
  226. "sasslintConfig": "client/.sass-lint.yml"
  227. }