package.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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.1.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. "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": "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. "application-config": "^1.0.1",
  95. "async": "^2.0.0",
  96. "async-lock": "^1.1.2",
  97. "async-lru": "^1.1.1",
  98. "bcrypt": "3.0.2",
  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.8.1",
  123. "is-cidr": "^3.0.0",
  124. "iso-639-3": "^1.0.1",
  125. "js-yaml": "^3.5.4",
  126. "jsonld": "^1.0.1",
  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": "^4.4.2",
  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": "4.41.2",
  146. "sequelize-typescript": "0.6.6",
  147. "sharp": "^0.21.0",
  148. "sitemap": "^2.1.0",
  149. "srt-to-vtt": "^1.1.2",
  150. "summon-install": "^0.4.3",
  151. "useragent": "^2.3.0",
  152. "uuid": "^3.1.0",
  153. "validator": "^10.2.0",
  154. "webfinger.js": "^2.6.6",
  155. "webtorrent": "^0.102.1",
  156. "winston": "3.1.0",
  157. "ws": "^6.0.0",
  158. "youtube-dl": "^1.12.2"
  159. },
  160. "devDependencies": {
  161. "@types/async": "^2.0.40",
  162. "@types/async-lock": "^1.1.0",
  163. "@types/bcrypt": "^3.0.0",
  164. "@types/bluebird": "3.5.21",
  165. "@types/body-parser": "^1.16.3",
  166. "@types/bull": "3.4.0",
  167. "@types/bytes": "^3.0.0",
  168. "@types/chai": "^4.0.4",
  169. "@types/chai-json-schema": "^1.4.3",
  170. "@types/chai-xml": "^0.3.1",
  171. "@types/config": "^0.0.34",
  172. "@types/express": "^4.0.35",
  173. "@types/express-rate-limit": "^2.9.3",
  174. "@types/fluent-ffmpeg": "^2.1.8",
  175. "@types/fs-extra": "^5.0.4",
  176. "@types/libxmljs": "^0.18.0",
  177. "@types/lodash": "^4.14.64",
  178. "@types/magnet-uri": "^5.1.1",
  179. "@types/maildev": "^0.0.1",
  180. "@types/memoizee": "^0.4.2",
  181. "@types/mkdirp": "^0.5.1",
  182. "@types/mocha": "^5.0.0",
  183. "@types/morgan": "^1.7.32",
  184. "@types/multer": "^1.3.3",
  185. "@types/node": "^10.0.8",
  186. "@types/nodemailer": "^4.3.1",
  187. "@types/oauth2-server": "^3.0.8",
  188. "@types/pem": "^1.9.3",
  189. "@types/redis": "^2.8.5",
  190. "@types/request": "^2.0.3",
  191. "@types/sharp": "^0.21.0",
  192. "@types/supertest": "^2.0.3",
  193. "@types/validator": "^9.4.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. "husky": "^1.0.0-rc.4",
  200. "libxmljs": "0.19.5",
  201. "lint-staged": "^8.0.4",
  202. "maildev": "^1.0.0-rc3",
  203. "marked-man": "^0.2.1",
  204. "mocha": "^5.0.0",
  205. "nodemon": "^1.18.6",
  206. "sass-lint": "^1.12.1",
  207. "source-map-support": "^0.5.0",
  208. "supertest": "^3.0.0",
  209. "swagger-cli": "^2.2.0",
  210. "ts-node": "7.0.1",
  211. "tslint": "^5.7.0",
  212. "tslint-config-standard": "^8.0.1",
  213. "typescript": "^3.1.6",
  214. "xliff": "^4.0.0"
  215. },
  216. "scripty": {
  217. "silent": true
  218. },
  219. "summon": {
  220. "silent": true
  221. },
  222. "sasslintConfig": "client/.sass-lint.yml"
  223. }