Mirror of PeerTube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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": "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. "plugin:install": "node ./dist/scripts/plugin/install.js",
  40. "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js",
  41. "i18n:xliff2json": "node ./dist/scripts/i18n/xliff2json.js",
  42. "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js",
  43. "reset-password": "node ./dist/scripts/reset-password.js",
  44. "play": "scripty",
  45. "dev": "scripty",
  46. "dev:server": "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. "nightly": "scripty",
  76. "client-report": "scripty"
  77. },
  78. "husky": {
  79. "hooks": {
  80. "pre-commit": "lint-staged"
  81. }
  82. },
  83. "lint-staged": {
  84. "*.scss": [
  85. "sass-lint -c client/.sass-lint.yml",
  86. "git add"
  87. ],
  88. "support/doc/api/*.yaml": [
  89. "node ./node_modules/swagger-cli/bin/swagger-cli.js validate support/doc/api/openapi.yaml",
  90. "git add"
  91. ],
  92. "server/tools/README.md": [
  93. "npm run generate-cli-doc",
  94. "git add"
  95. ]
  96. },
  97. "resolutions": {
  98. "@types/bluebird": "3.5.27"
  99. },
  100. "dependencies": {
  101. "apicache": "^1.4.0",
  102. "async": "^3.0.1",
  103. "async-lru": "^1.1.1",
  104. "bcrypt": "3.0.6",
  105. "bittorrent-tracker": "^9.0.0",
  106. "bluebird": "^3.5.0",
  107. "body-parser": "^1.12.4",
  108. "bull": "^3.4.2",
  109. "bytes": "^3.0.0",
  110. "commander": "^3.0.2",
  111. "config": "^3.0.0",
  112. "cookie-parser": "^1.4.3",
  113. "cors": "^2.8.1",
  114. "create-torrent": "^4.0.0",
  115. "deep-object-diff": "^1.1.0",
  116. "express": "^4.12.4",
  117. "express-oauth-server": "^2.0.0",
  118. "express-rate-limit": "^4.0.4",
  119. "express-validator": "^6.1.1",
  120. "flat": "^4.1.0",
  121. "fluent-ffmpeg": "^2.1.0",
  122. "fs-extra": "^8.0.1",
  123. "helmet": "^3.12.1",
  124. "http-signature": "^1.2.0",
  125. "ip-anonymize": "^0.1.0",
  126. "ipaddr.js": "1.9.1",
  127. "is-cidr": "^3.0.0",
  128. "iso-639-3": "^1.0.1",
  129. "js-yaml": "^3.5.4",
  130. "jsonld": "~1.8.0",
  131. "lodash": "^4.17.10",
  132. "lru-cache": "^5.1.1",
  133. "magnet-uri": "^5.1.4",
  134. "memoizee": "^0.4.14",
  135. "morgan": "^1.5.3",
  136. "multer": "^1.1.0",
  137. "nodemailer": "^6.0.0",
  138. "parse-torrent": "^7.0.0",
  139. "password-generator": "^2.0.2",
  140. "pem": "^1.12.3",
  141. "pfeed": "^1.1.6",
  142. "pg": "^7.4.1",
  143. "prompt": "^1.0.0",
  144. "redis": "^2.8.0",
  145. "reflect-metadata": "^0.1.12",
  146. "request": "^2.81.0",
  147. "scripty": "^1.5.0",
  148. "sequelize": "5.21.1",
  149. "sequelize-typescript": "^1.0.0-beta.4",
  150. "sharp": "^0.23.1",
  151. "sitemap": "^5.0.0",
  152. "socket.io": "^2.2.0",
  153. "srt-to-vtt": "^1.1.2",
  154. "tsconfig-paths": "^3.9.0",
  155. "useragent": "^2.3.0",
  156. "uuid": "^3.1.0",
  157. "validator": "^11.0.0",
  158. "webfinger.js": "^2.6.6",
  159. "webtorrent": "^0.107.16",
  160. "winston": "3.2.1",
  161. "ws": "^7.0.0",
  162. "youtube-dl": "^2.0.0"
  163. },
  164. "devDependencies": {
  165. "@types/apicache": "^1.2.0",
  166. "@types/async": "^3.0.0",
  167. "@types/async-lock": "^1.1.0",
  168. "@types/bcrypt": "^3.0.0",
  169. "@types/bluebird": "3.5.21",
  170. "@types/body-parser": "^1.16.3",
  171. "@types/bull": "3.4.0",
  172. "@types/bytes": "^3.0.0",
  173. "@types/chai": "^4.0.4",
  174. "@types/chai-json-schema": "^1.4.3",
  175. "@types/chai-xml": "^0.3.1",
  176. "@types/config": "^0.0.34",
  177. "@types/express": "^4.0.35",
  178. "@types/express-rate-limit": "^3.3.0",
  179. "@types/fluent-ffmpeg": "^2.1.8",
  180. "@types/fs-extra": "^8.0.0",
  181. "@types/libxmljs": "^0.18.0",
  182. "@types/lodash": "^4.14.64",
  183. "@types/lru-cache": "^5.1.0",
  184. "@types/magnet-uri": "^5.1.1",
  185. "@types/maildev": "^0.0.1",
  186. "@types/memoizee": "^0.4.2",
  187. "@types/mkdirp": "^0.5.1",
  188. "@types/mocha": "^5.0.0",
  189. "@types/morgan": "^1.7.32",
  190. "@types/multer": "^1.3.3",
  191. "@types/node": "^10.0.8",
  192. "@types/nodemailer": "^6.2.0",
  193. "@types/oauth2-server": "^3.0.8",
  194. "@types/pem": "^1.9.3",
  195. "@types/redis": "^2.8.5",
  196. "@types/request": "^2.0.3",
  197. "@types/sharp": "^0.23.0",
  198. "@types/socket.io": "^2.1.2",
  199. "@types/supertest": "^2.0.3",
  200. "@types/validator": "^10.9.0",
  201. "@types/webtorrent": "^0.107.0",
  202. "@types/ws": "^6.0.0",
  203. "chai": "^4.1.1",
  204. "chai-json-schema": "^1.5.0",
  205. "chai-xml": "^0.3.2",
  206. "concurrently": "^5.0.0",
  207. "husky": "^3.0.1",
  208. "libxmljs": "0.19.7",
  209. "lint-staged": "^9.2.0",
  210. "maildev": "^1.0.0-rc3",
  211. "marked-man": "^0.7.0",
  212. "mocha": "^6.0.0",
  213. "mocha-parallel-tests": "^2.2.1",
  214. "nodemon": "^1.18.6",
  215. "sass-lint": "^1.12.1",
  216. "source-map-support": "^0.5.0",
  217. "supertest": "^4.0.2",
  218. "swagger-cli": "^2.2.0",
  219. "ts-node": "8.4.1",
  220. "tslint": "^5.7.0",
  221. "tslint-config-standard": "^8.0.1",
  222. "typescript": "^3.4.3",
  223. "xliff": "^4.0.0"
  224. },
  225. "scripty": {
  226. "silent": true
  227. },
  228. "sasslintConfig": "client/.sass-lint.yml",
  229. "_moduleAliases": {
  230. "@server": "dist/server"
  231. }
  232. }