]>
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.", |
e1e823fa | 4 | "version": "4.3.0-rc.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 | }, |
ae64a66a C |
79 | "resolutions": { |
80 | "jpeg-js": "0.4.4" | |
81 | }, | |
8c308c2b | 82 | "dependencies": { |
0305db28 | 83 | "@aws-sdk/client-s3": "^3.23.0", |
156cdbac | 84 | "@aws-sdk/lib-storage": "^3.72.0", |
ca3d5912 | 85 | "@aws-sdk/node-http-handler": "^3.82.0", |
5ed6bc77 | 86 | "@babel/parser": "^7.17.8", |
031bbcd2 | 87 | "@node-oauth/oauth2-server": "^4.2.0", |
630d0a1b | 88 | "@opentelemetry/api": "^1.1.0", |
3d2e4f03 | 89 | "@opentelemetry/api-metrics": "^0.32.0", |
630d0a1b | 90 | "@opentelemetry/exporter-jaeger": "^1.3.1", |
3d2e4f03 C |
91 | "@opentelemetry/exporter-prometheus": "~0.32.0", |
92 | "@opentelemetry/instrumentation": "^0.32.0", | |
93 | "@opentelemetry/instrumentation-dns": "^0.30.0", | |
94 | "@opentelemetry/instrumentation-express": "^0.31.0", | |
95 | "@opentelemetry/instrumentation-fs": "^0.5.0", | |
96 | "@opentelemetry/instrumentation-http": "^0.32.0", | |
97 | "@opentelemetry/instrumentation-pg": "^0.31.0", | |
98 | "@opentelemetry/instrumentation-redis-4": "^0.32.0", | |
630d0a1b | 99 | "@opentelemetry/resources": "^1.3.1", |
3d2e4f03 | 100 | "@opentelemetry/sdk-metrics": "^0.32.0", |
630d0a1b C |
101 | "@opentelemetry/sdk-trace-base": "^1.3.1", |
102 | "@opentelemetry/sdk-trace-node": "^1.3.1", | |
103 | "@opentelemetry/semantic-conventions": "^1.3.1", | |
0e00f894 | 104 | "@peertube/feed": "^5.0.1", |
5d7cb63e | 105 | "@peertube/http-signature": "^1.7.0", |
3d2e4f03 | 106 | "@uploadx/core": "^6.0.0", |
f981dae8 | 107 | "async-lru": "^1.1.1", |
fbd51e69 | 108 | "bcrypt": "5.0.1", |
1f6125be | 109 | "bencode": "^2.0.2", |
72329aaa | 110 | "bittorrent-tracker": "^9.0.0", |
6fcd19ba | 111 | "bluebird": "^3.5.0", |
5a921e7b | 112 | "bullmq": "^1.87.0", |
c48e82b5 | 113 | "bytes": "^3.0.0", |
c6c0fa6c | 114 | "chokidar": "^3.4.2", |
c9f27d98 | 115 | "commander": "^9.0.0", |
f9a971c6 | 116 | "config": "^3.0.0", |
8afc19a6 | 117 | "cookie-parser": "^1.4.3", |
b9ab2e25 | 118 | "cors": "^2.8.1", |
31aa391d | 119 | "create-torrent": "^5.0.0", |
59390818 | 120 | "deep-object-diff": "^1.1.0", |
5ed6bc77 | 121 | "email-templates": "^10.0.0", |
62549e6c | 122 | "execa": "^5.1.1", |
ae64a66a | 123 | "express": "^4.18.1", |
c0d2eac3 | 124 | "express-rate-limit": "^6.1.0", |
a1587156 | 125 | "express-validator": "^6.4.0", |
a5a254c4 | 126 | "flat": "^5.0.0", |
3a8a8b51 | 127 | "fluent-ffmpeg": "^2.1.0", |
c9783c7b | 128 | "fs-extra": "^10.0.0", |
db4b15f2 | 129 | "got": "^11.8.2", |
3d2e4f03 | 130 | "helmet": "^6.0.0", |
35540f38 | 131 | "hpagent": "^1.0.0", |
76148b27 | 132 | "http-problem-details": "^0.1.5", |
60919831 | 133 | "ip-anonymize": "^0.1.0", |
071584c7 | 134 | "ipaddr.js": "2.0.1", |
faa9d434 | 135 | "is-cidr": "^4.0.0", |
5182473f | 136 | "iso-639-3": "2.2.0", |
50fcdebd | 137 | "jimp": "^0.16.0", |
ba5a8d89 | 138 | "js-yaml": "^4.0.0", |
3d2e4f03 | 139 | "jsonld": "~8.1.0", |
d1bd87e0 | 140 | "lodash": "^4.17.10", |
b4890f21 | 141 | "lru-cache": "^7.13.0", |
fce7fe04 | 142 | "magnet-uri": "^6.1.0", |
35540f38 | 143 | "markdown-it": "^13.0.1", |
c2ecfe82 | 144 | "markdown-it-emoji": "^2.0.0", |
b2111066 | 145 | "maxmind": "^4.3.6", |
7348b1fd | 146 | "memoizee": "^0.4.14", |
8c308c2b | 147 | "morgan": "^1.5.3", |
ae64a66a | 148 | "multer": "^1.4.5-lts.1", |
c6c0fa6c | 149 | "node-media-server": "^2.1.4", |
a1a216d9 | 150 | "nodemailer": "^6.0.0", |
ce6b3765 | 151 | "opentelemetry-instrumentation-sequelize": "^0.29.0", |
1bb4c9ab | 152 | "p-queue": "^6", |
fce7fe04 | 153 | "parse-torrent": "^9.1.0", |
bb1e6d0c | 154 | "password-generator": "^2.0.2", |
faa9d434 | 155 | "pg": "^8.2.1", |
c53853ca | 156 | "piscina": "^3.2.0", |
de17453a | 157 | "prompt": "^1.0.0", |
d91a0341 | 158 | "proxy-addr": "^2.0.7", |
faa9d434 | 159 | "pug": "^3.0.0", |
e5d91a9b | 160 | "redis": "^4.0.1", |
a4255d8e | 161 | "reflect-metadata": "^0.1.12", |
98b94643 | 162 | "sanitize-html": "2.x", |
3d2e4f03 | 163 | "sequelize": "6.21.6", |
b49f22d8 | 164 | "sequelize-typescript": "^2.0.0-beta.1", |
d4a8e7a6 | 165 | "short-uuid": "^4.2.0", |
c9783c7b | 166 | "sitemap": "^7.0.0", |
5182473f | 167 | "socket.io": "^4.0.1", |
3d2e4f03 | 168 | "sql-formatter": "^10.6.0", |
f4001cf4 | 169 | "srt-to-vtt": "^1.1.2", |
35540f38 | 170 | "tsconfig-paths": "^4.0.0", |
e0ef8dab | 171 | "tslib": "^2.0.0", |
aad0ec24 | 172 | "useragent": "^2.3.0", |
d9699428 | 173 | "validator": "^13.0.0", |
e4f97bab | 174 | "webfinger.js": "^2.6.6", |
071584c7 | 175 | "webtorrent": "^1.0.0", |
3d2e4f03 | 176 | "winston": "3.8.2", |
62549e6c | 177 | "ws": "^8.0.0" |
8c308c2b C |
178 | }, |
179 | "devDependencies": { | |
605450a6 | 180 | "@peertube/maildev": "^1.2.0", |
b40f0575 | 181 | "@types/async-lock": "^1.1.0", |
8cc61201 | 182 | "@types/bcrypt": "^5.0.0", |
41fb13c3 | 183 | "@types/bencode": "^2.0.0", |
c9783c7b | 184 | "@types/bluebird": "^3.5.33", |
65fcc311 | 185 | "@types/body-parser": "^1.16.3", |
c48e82b5 | 186 | "@types/bytes": "^3.0.0", |
0e1dc3e7 | 187 | "@types/chai": "^4.0.4", |
966eb053 RK |
188 | "@types/chai-json-schema": "^1.4.3", |
189 | "@types/chai-xml": "^0.3.1", | |
3d2e4f03 | 190 | "@types/config": "^3.3.0", |
41fb13c3 | 191 | "@types/create-torrent": "^5.0.0", |
ba5a8d89 | 192 | "@types/express": "4.17.9", |
313921b5 | 193 | "@types/fluent-ffmpeg": "^2.1.16", |
faa9d434 | 194 | "@types/fs-extra": "^9.0.1", |
65fcc311 | 195 | "@types/lodash": "^4.14.64", |
69818c93 | 196 | "@types/magnet-uri": "^5.1.1", |
7a397c7f | 197 | "@types/maildev": "^0.0.3", |
7348b1fd | 198 | "@types/memoizee": "^0.4.2", |
bdd428a6 | 199 | "@types/mkdirp": "^1.0.0", |
31aa391d | 200 | "@types/mocha": "^9.0.0", |
65fcc311 | 201 | "@types/morgan": "^1.7.32", |
556ddc31 | 202 | "@types/multer": "^1.3.3", |
fbd51e69 | 203 | "@types/node": "^14.14.31", |
60919831 | 204 | "@types/nodemailer": "^6.2.0", |
2db85d6b | 205 | "@types/oauth2-server": "^3.0.8", |
556ddc31 | 206 | "@types/request": "^2.0.3", |
0e1dc3e7 | 207 | "@types/supertest": "^2.0.3", |
faa9d434 | 208 | "@types/validator": "^13.0.0", |
fce7fe04 | 209 | "@types/webtorrent": "^0.109.0", |
05c0535d C |
210 | "@types/ws": "^8.2.0", |
211 | "@typescript-eslint/eslint-plugin": "^5.0.0", | |
4abbeff5 | 212 | "autocannon": "^7.0.4", |
556ddc31 | 213 | "chai": "^4.1.1", |
966eb053 | 214 | "chai-json-schema": "^1.5.0", |
fce7fe04 | 215 | "chai-xml": "^0.4.0", |
c0d2eac3 | 216 | "concurrently": "^7.0.0", |
8b03e2ce | 217 | "depcheck": "^1.4.2", |
05c0535d | 218 | "eslint": "^8.0.0", |
5ed6bc77 | 219 | "eslint-config-standard-with-typescript": "^22.0.0", |
a1587156 | 220 | "eslint-plugin-import": "^2.20.1", |
ba2684ce | 221 | "eslint-plugin-n": "^15.2.4", |
a1587156 | 222 | "eslint-plugin-node": "^11.0.0", |
2d28b0c2 C |
223 | "eslint-plugin-promise": "^6.0.0", |
224 | "fast-xml-parser": "^4.0.0-beta.8", | |
35540f38 | 225 | "mocha": "^10.0.0", |
8729a870 | 226 | "proxy": "^1.0.2", |
5ed6bc77 | 227 | "resolve-tspaths": "^0.7.0", |
5182473f | 228 | "socket.io-client": "^4.0.1", |
fce7fe04 | 229 | "supertest": "^6.0.1", |
d9699428 | 230 | "swagger-cli": "^4.0.2", |
5ed6bc77 | 231 | "ts-node": "^10.8.1", |
1575be68 | 232 | "tsc-watch": "^5.0.3", |
fce7fe04 | 233 | "typescript": "^4.0.5" |
8c308c2b | 234 | }, |
0672dc76 | 235 | "bundlewatch": { |
d632a147 C |
236 | "files": [ |
237 | { | |
fd0c1155 | 238 | "path": "client/dist/en-US/*.js", |
d632a147 | 239 | "maxSize": "1mb" |
a3b5e78a C |
240 | }, |
241 | { | |
242 | "path": "client/dist/standalone/videos/video-embed.bundle.js", | |
243 | "maxSize": "1mb" | |
244 | }, | |
245 | { | |
246 | "path": "client/dist/standalone/videos/video-embed.css", | |
247 | "maxSize": "1mb" | |
d632a147 C |
248 | } |
249 | ] | |
8424c402 | 250 | } |
8c308c2b | 251 | } |