]>
Commit | Line | Data |
---|---|---|
8c308c2b | 1 | { |
d148f3b9 | 2 | "name": "peertube", |
51de2c7f | 3 | "description": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.", |
70f3012a | 4 | "version": "4.1.1", |
8c308c2b | 5 | "private": true, |
478924a0 | 6 | "licence": "AGPL-3.0", |
8c308c2b | 7 | "engines": { |
6b6e1d5d | 8 | "node": ">=12.x", |
d29ced1a | 9 | "yarn": ">=1.x" |
288a1331 | 10 | }, |
8704acf4 RK |
11 | "bin": { |
12 | "peertube": "dist/server/tools/peertube.js" | |
13 | }, | |
288a1331 | 14 | "author": { |
25378bc8 | 15 | "name": "Chocobozzz", |
374e4197 | 16 | "email": "chocobozzz@framasoft.org", |
288a1331 C |
17 | "url": "http://github.com/Chocobozzz" |
18 | }, | |
19 | "repository": { | |
20 | "type": "git", | |
52e679ac | 21 | "url": "git+https://github.com/Chocobozzz/PeerTube.git" |
8c308c2b | 22 | }, |
fbad87b0 | 23 | "typings": "*.d.ts", |
8c308c2b | 24 | "scripts": { |
12d6b873 | 25 | "e2e:browserstack": "bash ./scripts/e2e/browserstack.sh", |
f463e2df C |
26 | "e2e:local": "bash ./scripts/e2e/local.sh", |
27 | "setup:cli": "bash ./scripts/setup/cli.sh", | |
28 | "build": "bash ./scripts/build/index.sh", | |
29 | "build:embed": "bash ./scripts/build/embed.sh", | |
30 | "build:server": "bash ./scripts/build/server.sh", | |
31 | "build:client": "bash ./scripts/build/client.sh", | |
32 | "clean:client": "bash ./scripts/clean/client/index.sh", | |
33 | "clean:server:test": "bash ./scripts/clean/server/test.sh", | |
34 | "i18n:update": "bash ./scripts/i18n/update.sh", | |
b5f919ac C |
35 | "plugin:install": "node ./dist/scripts/plugin/install.js", |
36 | "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js", | |
e945b184 | 37 | "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js", |
f96d1df3 | 38 | "reset-password": "node ./dist/scripts/reset-password.js", |
f463e2df C |
39 | "dev": "bash ./scripts/dev/index.sh", |
40 | "dev:server": "bash ./scripts/dev/server.sh", | |
41 | "dev:embed": "bash ./scripts/dev/embed.sh", | |
42 | "dev:client": "bash ./scripts/dev/client.sh", | |
43 | "dev:cli": "bash ./scripts/dev/cli.sh", | |
75fb0c0b | 44 | "start": "node dist/server", |
b83b8dd5 | 45 | "start:server": "node dist/server --no-client", |
f96d1df3 | 46 | "update-host": "node ./dist/scripts/update-host.js", |
0c948c16 | 47 | "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js", |
c2bd7a6f | 48 | "regenerate-thumbnails": "node ./dist/scripts/regenerate-thumbnails.js", |
0138af92 | 49 | "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js", |
e1ab52d7 | 50 | "create-move-video-storage-job": "node ./dist/scripts/create-move-video-storage-job.js", |
09849603 | 51 | "print-transcode-command": "node ./dist/scripts/print-transcode-command.js", |
f463e2df C |
52 | "test": "bash ./scripts/test.sh", |
53 | "help": "bash ./scripts/help.sh", | |
54 | "generate-cli-doc": "bash ./scripts/generate-cli-doc.sh", | |
6627dbc9 | 55 | "generate-types-package": "ts-node ./packages/types/generate-package.ts", |
f96d1df3 | 56 | "parse-log": "node ./dist/scripts/parse-log.js", |
a9729e21 | 57 | "prune-storage": "node ./dist/scripts/prune-storage.js", |
59092428 | 58 | "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)", |
75fb0c0b | 59 | "tsc": "tsc", |
d0e848b7 | 60 | "commander": "commander", |
2284f202 | 61 | "lint": "npm run ci -- lint", |
cbca00df | 62 | "ng": "ng", |
df98563e | 63 | "ts-node": "ts-node", |
a1587156 | 64 | "eslint": "eslint", |
b969539c | 65 | "resolve-tspaths": "resolve-tspaths", |
f8360396 C |
66 | "resolve-tspaths:all": "npm run resolve-tspaths:server && npm run resolve-tspaths:cli", |
67 | "resolve-tspaths:server": "npm run resolve-tspaths -- --project tsconfig.json --src . --out dist", | |
68 | "resolve-tspaths:cli": "npm run resolve-tspaths -- --project ./server/tools/tsconfig.json --src ./server/tools --out ./dist/server/tools", | |
6cca7360 | 69 | "concurrently": "concurrently", |
76434ec8 | 70 | "mocha": "mocha", |
f463e2df C |
71 | "ci": "bash ./scripts/ci.sh", |
72 | "release": "bash ./scripts/release.sh", | |
73 | "release-embed-api": "bash ./scripts/release-embed-api.sh", | |
74 | "nightly": "bash ./scripts/nightly.sh", | |
75 | "openapi-clients": "bash ./scripts/openapi-clients.sh", | |
76 | "client-report": "bash ./scripts/client-report.sh", | |
931d3430 | 77 | "swagger-cli": "swagger-cli" |
4de2fafc | 78 | }, |
8c308c2b | 79 | "dependencies": { |
0305db28 | 80 | "@aws-sdk/client-s3": "^3.23.0", |
f4110e0a | 81 | "@babel/parser": "7.17.8", |
0e00f894 | 82 | "@peertube/feed": "^5.0.1", |
5842a854 | 83 | "@peertube/http-signature": "^1.4.0", |
2f0a0ae2 | 84 | "@uploadx/core": "^5.0.0", |
60919831 | 85 | "async": "^3.0.1", |
f981dae8 | 86 | "async-lru": "^1.1.1", |
fbd51e69 | 87 | "bcrypt": "5.0.1", |
1f6125be | 88 | "bencode": "^2.0.2", |
72329aaa | 89 | "bittorrent-tracker": "^9.0.0", |
6fcd19ba | 90 | "bluebird": "^3.5.0", |
7fc1012f | 91 | "bull": "^4.1.0", |
c48e82b5 | 92 | "bytes": "^3.0.0", |
c6c0fa6c | 93 | "chokidar": "^3.4.2", |
c9f27d98 | 94 | "commander": "^9.0.0", |
f9a971c6 | 95 | "config": "^3.0.0", |
8afc19a6 | 96 | "cookie-parser": "^1.4.3", |
b9ab2e25 | 97 | "cors": "^2.8.1", |
31aa391d | 98 | "create-torrent": "^5.0.0", |
59390818 | 99 | "deep-object-diff": "^1.1.0", |
f4110e0a | 100 | "email-templates": "^9.0.0", |
62549e6c | 101 | "execa": "^5.1.1", |
8c308c2b | 102 | "express": "^4.12.4", |
c0d2eac3 | 103 | "express-rate-limit": "^6.1.0", |
a1587156 | 104 | "express-validator": "^6.4.0", |
a5a254c4 | 105 | "flat": "^5.0.0", |
3a8a8b51 | 106 | "fluent-ffmpeg": "^2.1.0", |
c9783c7b | 107 | "fs-extra": "^10.0.0", |
db4b15f2 | 108 | "got": "^11.8.2", |
c0d2eac3 | 109 | "helmet": "^5.0.1", |
8729a870 | 110 | "hpagent": "^0.1.2", |
76148b27 | 111 | "http-problem-details": "^0.1.5", |
60919831 | 112 | "ip-anonymize": "^0.1.0", |
071584c7 | 113 | "ipaddr.js": "2.0.1", |
faa9d434 | 114 | "is-cidr": "^4.0.0", |
5182473f | 115 | "iso-639-3": "2.2.0", |
50fcdebd | 116 | "jimp": "^0.16.0", |
ba5a8d89 | 117 | "js-yaml": "^4.0.0", |
5182473f | 118 | "jsonld": "~5.2.0", |
d1bd87e0 | 119 | "lodash": "^4.17.10", |
1575be68 | 120 | "lru-cache": "7.8.0", |
fce7fe04 | 121 | "magnet-uri": "^6.1.0", |
c9783c7b | 122 | "markdown-it": "^12.0.4", |
c2ecfe82 | 123 | "markdown-it-emoji": "^2.0.0", |
b2111066 | 124 | "maxmind": "^4.3.6", |
7348b1fd | 125 | "memoizee": "^0.4.14", |
8c308c2b | 126 | "morgan": "^1.5.3", |
2d4822e3 | 127 | "multer": "^1.4.4", |
c6c0fa6c | 128 | "node-media-server": "^2.1.4", |
a1a216d9 | 129 | "nodemailer": "^6.0.0", |
a784bd7f | 130 | "oauth2-server": "3.1.1", |
fce7fe04 | 131 | "parse-torrent": "^9.1.0", |
bb1e6d0c | 132 | "password-generator": "^2.0.2", |
e4f97bab | 133 | "pem": "^1.12.3", |
faa9d434 | 134 | "pg": "^8.2.1", |
de17453a | 135 | "prompt": "^1.0.0", |
d91a0341 | 136 | "proxy-addr": "^2.0.7", |
faa9d434 | 137 | "pug": "^3.0.0", |
e5d91a9b | 138 | "redis": "^4.0.1", |
a4255d8e | 139 | "reflect-metadata": "^0.1.12", |
98b94643 | 140 | "sanitize-html": "2.x", |
1575be68 | 141 | "sequelize": "6.18.0", |
b49f22d8 | 142 | "sequelize-typescript": "^2.0.0-beta.1", |
d4a8e7a6 | 143 | "short-uuid": "^4.2.0", |
c9783c7b | 144 | "sitemap": "^7.0.0", |
5182473f | 145 | "socket.io": "^4.0.1", |
2a6cf69c | 146 | "sql-formatter": "^4.0.0-beta.0", |
f4001cf4 | 147 | "srt-to-vtt": "^1.1.2", |
464687bb | 148 | "tsconfig-paths": "^3.9.0", |
e0ef8dab | 149 | "tslib": "^2.0.0", |
aad0ec24 | 150 | "useragent": "^2.3.0", |
d9699428 | 151 | "validator": "^13.0.0", |
e4f97bab | 152 | "webfinger.js": "^2.6.6", |
071584c7 | 153 | "webtorrent": "^1.0.0", |
1575be68 | 154 | "winston": "3.7.2", |
62549e6c | 155 | "ws": "^8.0.0" |
8c308c2b C |
156 | }, |
157 | "devDependencies": { | |
605450a6 | 158 | "@peertube/maildev": "^1.2.0", |
60919831 | 159 | "@types/async": "^3.0.0", |
b40f0575 | 160 | "@types/async-lock": "^1.1.0", |
8cc61201 | 161 | "@types/bcrypt": "^5.0.0", |
41fb13c3 | 162 | "@types/bencode": "^2.0.0", |
c9783c7b | 163 | "@types/bluebird": "^3.5.33", |
65fcc311 | 164 | "@types/body-parser": "^1.16.3", |
c9783c7b | 165 | "@types/bull": "^3.15.0", |
c48e82b5 | 166 | "@types/bytes": "^3.0.0", |
0e1dc3e7 | 167 | "@types/chai": "^4.0.4", |
966eb053 RK |
168 | "@types/chai-json-schema": "^1.4.3", |
169 | "@types/chai-xml": "^0.3.1", | |
c0d2eac3 | 170 | "@types/config": "^0.0.41", |
41fb13c3 | 171 | "@types/create-torrent": "^5.0.0", |
ba5a8d89 | 172 | "@types/express": "4.17.9", |
313921b5 | 173 | "@types/fluent-ffmpeg": "^2.1.16", |
faa9d434 | 174 | "@types/fs-extra": "^9.0.1", |
65fcc311 | 175 | "@types/lodash": "^4.14.64", |
f4110e0a | 176 | "@types/lru-cache": "^7.5.0", |
69818c93 | 177 | "@types/magnet-uri": "^5.1.1", |
7a397c7f | 178 | "@types/maildev": "^0.0.3", |
7348b1fd | 179 | "@types/memoizee": "^0.4.2", |
bdd428a6 | 180 | "@types/mkdirp": "^1.0.0", |
31aa391d | 181 | "@types/mocha": "^9.0.0", |
65fcc311 | 182 | "@types/morgan": "^1.7.32", |
556ddc31 | 183 | "@types/multer": "^1.3.3", |
fbd51e69 | 184 | "@types/node": "^14.14.31", |
60919831 | 185 | "@types/nodemailer": "^6.2.0", |
2db85d6b | 186 | "@types/oauth2-server": "^3.0.8", |
e4f97bab | 187 | "@types/pem": "^1.9.3", |
556ddc31 | 188 | "@types/request": "^2.0.3", |
0e1dc3e7 | 189 | "@types/supertest": "^2.0.3", |
faa9d434 | 190 | "@types/validator": "^13.0.0", |
fce7fe04 | 191 | "@types/webtorrent": "^0.109.0", |
05c0535d C |
192 | "@types/ws": "^8.2.0", |
193 | "@typescript-eslint/eslint-plugin": "^5.0.0", | |
4abbeff5 | 194 | "autocannon": "^7.0.4", |
556ddc31 | 195 | "chai": "^4.1.1", |
966eb053 | 196 | "chai-json-schema": "^1.5.0", |
fce7fe04 | 197 | "chai-xml": "^0.4.0", |
c0d2eac3 | 198 | "concurrently": "^7.0.0", |
8b03e2ce | 199 | "depcheck": "^1.4.2", |
05c0535d C |
200 | "eslint": "^8.0.0", |
201 | "eslint-config-standard-with-typescript": "^21.0.1", | |
a1587156 C |
202 | "eslint-plugin-import": "^2.20.1", |
203 | "eslint-plugin-node": "^11.0.0", | |
2d28b0c2 C |
204 | "eslint-plugin-promise": "^6.0.0", |
205 | "fast-xml-parser": "^4.0.0-beta.8", | |
071584c7 | 206 | "mocha": "^9.0.0", |
8729a870 | 207 | "proxy": "^1.0.2", |
ebe4b3df | 208 | "resolve-tspaths": "^0.2.3", |
5182473f | 209 | "socket.io-client": "^4.0.1", |
fce7fe04 | 210 | "supertest": "^6.0.1", |
d9699428 | 211 | "swagger-cli": "^4.0.2", |
f4110e0a | 212 | "ts-node": "10.7.0", |
1575be68 | 213 | "tsc-watch": "^5.0.3", |
fce7fe04 | 214 | "typescript": "^4.0.5" |
8c308c2b | 215 | }, |
0672dc76 | 216 | "bundlewatch": { |
d632a147 C |
217 | "files": [ |
218 | { | |
fd0c1155 | 219 | "path": "client/dist/en-US/*.js", |
d632a147 | 220 | "maxSize": "1mb" |
a3b5e78a C |
221 | }, |
222 | { | |
223 | "path": "client/dist/standalone/videos/video-embed.bundle.js", | |
224 | "maxSize": "1mb" | |
225 | }, | |
226 | { | |
227 | "path": "client/dist/standalone/videos/video-embed.css", | |
228 | "maxSize": "1mb" | |
d632a147 C |
229 | } |
230 | ] | |
8424c402 | 231 | } |
8c308c2b | 232 | } |