]>
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.", |
d0071752 | 4 | "version": "3.1.0", |
8c308c2b | 5 | "private": true, |
478924a0 | 6 | "licence": "AGPL-3.0", |
8c308c2b | 7 | "engines": { |
9162476f | 8 | "node": ">=10.x <=15", |
867ed651 | 9 | "yarn": ">=1.x", |
f6160062 | 10 | "postgres": ">=10.x", |
867ed651 RK |
11 | "redis-server": ">=2.8.18", |
12 | "ffmpeg": ">=4.1" | |
288a1331 | 13 | }, |
8704acf4 RK |
14 | "bin": { |
15 | "peertube": "dist/server/tools/peertube.js" | |
16 | }, | |
288a1331 | 17 | "author": { |
25378bc8 | 18 | "name": "Chocobozzz", |
374e4197 | 19 | "email": "chocobozzz@framasoft.org", |
288a1331 C |
20 | "url": "http://github.com/Chocobozzz" |
21 | }, | |
22 | "repository": { | |
23 | "type": "git", | |
52e679ac | 24 | "url": "git+https://github.com/Chocobozzz/PeerTube.git" |
8c308c2b | 25 | }, |
fbad87b0 | 26 | "typings": "*.d.ts", |
8c308c2b | 27 | "scripts": { |
74af5a83 | 28 | "e2e": "scripty", |
9e3e2481 | 29 | "e2e:local": "scripty", |
7e9d3f25 | 30 | "setup:cli": "scripty", |
c026a2e6 C |
31 | "build": "scripty", |
32 | "build:embed": "scripty", | |
66dd264f C |
33 | "build:server": "scripty", |
34 | "build:client": "scripty", | |
fc76359b | 35 | "clean:client": "scripty", |
80624154 | 36 | "clean:server": "scripty", |
93534495 | 37 | "clean:server:test": "scripty", |
82221ac9 C |
38 | "danger:clean:dev": "scripty", |
39 | "danger:clean:prod": "scripty", | |
93534495 | 40 | "danger:clean:modules": "scripty", |
49a56c72 | 41 | "i18n:update": "scripty", |
b5f919ac C |
42 | "plugin:install": "node ./dist/scripts/plugin/install.js", |
43 | "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js", | |
e945b184 | 44 | "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js", |
f96d1df3 | 45 | "reset-password": "node ./dist/scripts/reset-password.js", |
93534495 | 46 | "play": "scripty", |
b764380a | 47 | "dev": "sh ./scripts/dev/index.sh", |
36619ac8 | 48 | "dev:server": "sh ./scripts/dev/server.sh", |
c026a2e6 | 49 | "dev:embed": "scripty", |
36619ac8 | 50 | "dev:client": "sh ./scripts/dev/client.sh", |
8d2be0ed | 51 | "dev:cli": "scripty", |
75fb0c0b | 52 | "start": "node dist/server", |
b83b8dd5 | 53 | "start:server": "node dist/server --no-client", |
f96d1df3 | 54 | "update-host": "node ./dist/scripts/update-host.js", |
0c948c16 | 55 | "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js", |
c2bd7a6f | 56 | "regenerate-thumbnails": "node ./dist/scripts/regenerate-thumbnails.js", |
0138af92 | 57 | "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js", |
09849603 | 58 | "print-transcode-command": "node ./dist/scripts/print-transcode-command.js", |
93534495 C |
59 | "test": "scripty", |
60 | "help": "scripty", | |
7cf3e573 | 61 | "generate-cli-doc": "scripty", |
f96d1df3 | 62 | "parse-log": "node ./dist/scripts/parse-log.js", |
a9729e21 | 63 | "prune-storage": "node ./dist/scripts/prune-storage.js", |
edb4ffc7 | 64 | "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js", |
59092428 | 65 | "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)", |
75fb0c0b | 66 | "tsc": "tsc", |
d0e848b7 | 67 | "commander": "commander", |
2284f202 | 68 | "lint": "npm run ci -- lint", |
cbca00df | 69 | "ng": "ng", |
1840c2f7 | 70 | "nodemon": "nodemon", |
df98563e | 71 | "ts-node": "ts-node", |
a1587156 | 72 | "eslint": "eslint", |
6cca7360 | 73 | "concurrently": "concurrently", |
4de2fafc RK |
74 | "sasslint": "sass-lint --verbose --no-exit", |
75 | "sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose", | |
76434ec8 | 76 | "mocha": "mocha", |
2284f202 | 77 | "ci": "scripty", |
24a8e782 | 78 | "release": "scripty", |
03d641a0 | 79 | "release-embed-api": "scripty", |
2284f202 | 80 | "nightly": "scripty", |
002df381 | 81 | "openapi-clients": "scripty", |
a3705089 C |
82 | "client-report": "scripty", |
83 | "swagger-cli": "swagger-cli", | |
84 | "sass-lint": "sass-lint" | |
4de2fafc | 85 | }, |
8c308c2b | 86 | "dependencies": { |
fbd51e69 | 87 | "apicache": "1.6.2", |
60919831 | 88 | "async": "^3.0.1", |
f981dae8 | 89 | "async-lru": "^1.1.1", |
fbd51e69 | 90 | "bcrypt": "5.0.1", |
72329aaa | 91 | "bittorrent-tracker": "^9.0.0", |
6fcd19ba | 92 | "bluebird": "^3.5.0", |
8c308c2b | 93 | "body-parser": "^1.12.4", |
2cdf27ba | 94 | "bull": "^3.4.2", |
c48e82b5 | 95 | "bytes": "^3.0.0", |
c6c0fa6c | 96 | "chokidar": "^3.4.2", |
ba5a8d89 | 97 | "commander": "^7.0.0", |
f9a971c6 | 98 | "config": "^3.0.0", |
8afc19a6 | 99 | "cookie-parser": "^1.4.3", |
b9ab2e25 | 100 | "cors": "^2.8.1", |
523990db | 101 | "create-torrent": "^4.0.0", |
59390818 | 102 | "deep-object-diff": "^1.1.0", |
ba5a8d89 | 103 | "email-templates": "^8.0.3", |
8c308c2b | 104 | "express": "^4.12.4", |
9a11f733 | 105 | "express-rate-limit": "^5.0.0", |
a1587156 | 106 | "express-validator": "^6.4.0", |
a5a254c4 | 107 | "flat": "^5.0.0", |
3a8a8b51 | 108 | "fluent-ffmpeg": "^2.1.0", |
d9699428 | 109 | "fs-extra": "^9.0.0", |
db4b15f2 | 110 | "got": "^11.8.2", |
50fcdebd | 111 | "helmet": "^4.1.0", |
fce7fe04 | 112 | "http-signature": "1.3.5", |
60919831 | 113 | "ip-anonymize": "^0.1.0", |
50fcdebd | 114 | "ipaddr.js": "2.0.0", |
faa9d434 | 115 | "is-cidr": "^4.0.0", |
a22046d1 | 116 | "iso-639-3": "^2.0.0", |
50fcdebd | 117 | "jimp": "^0.16.0", |
ba5a8d89 | 118 | "js-yaml": "^4.0.0", |
fbd51e69 | 119 | "jsonld": "~4.0.1", |
d1bd87e0 | 120 | "lodash": "^4.17.10", |
50fcdebd | 121 | "lru-cache": "^6.0.0", |
fce7fe04 | 122 | "magnet-uri": "^6.1.0", |
ba5a8d89 | 123 | "markdown-it": "12.0.4", |
c2ecfe82 | 124 | "markdown-it-emoji": "^2.0.0", |
7348b1fd | 125 | "memoizee": "^0.4.14", |
8c308c2b | 126 | "morgan": "^1.5.3", |
207fbab4 | 127 | "multer": "^1.1.0", |
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", |
69c7f752 | 134 | "pfeed": "1.1.11", |
faa9d434 | 135 | "pg": "^8.2.1", |
de17453a | 136 | "prompt": "^1.0.0", |
faa9d434 | 137 | "pug": "^3.0.0", |
bdd428a6 | 138 | "redis": "^3.0.2", |
a4255d8e | 139 | "reflect-metadata": "^0.1.12", |
98b94643 | 140 | "sanitize-html": "2.x", |
d9699428 | 141 | "scripty": "^2.0.0", |
ba5a8d89 | 142 | "sequelize": "6.5.0", |
b49f22d8 | 143 | "sequelize-typescript": "^2.0.0-beta.1", |
d9699428 | 144 | "sitemap": "^6.1.0", |
fce7fe04 | 145 | "socket.io": "^3.0.2", |
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", |
faa9d434 | 151 | "uuid": "^8.1.0", |
d9699428 | 152 | "validator": "^13.0.0", |
e4f97bab | 153 | "webfinger.js": "^2.6.6", |
fbd51e69 | 154 | "webtorrent": "^0.115.1", |
50fcdebd | 155 | "winston": "3.3.3", |
60919831 | 156 | "ws": "^7.0.0", |
a1587156 | 157 | "youtube-dl": "^3.0.2" |
8c308c2b C |
158 | }, |
159 | "devDependencies": { | |
fce7fe04 | 160 | "@openapitools/openapi-generator-cli": "^2.1.4", |
47f6409b | 161 | "@types/apicache": "^1.2.0", |
60919831 | 162 | "@types/async": "^3.0.0", |
b40f0575 | 163 | "@types/async-lock": "^1.1.0", |
f7454ca6 | 164 | "@types/bcrypt": "^3.0.0", |
fce7fe04 | 165 | "@types/bluebird": "3.5.33", |
65fcc311 | 166 | "@types/body-parser": "^1.16.3", |
ba5a8d89 | 167 | "@types/bull": "3.15.0", |
c48e82b5 | 168 | "@types/bytes": "^3.0.0", |
0e1dc3e7 | 169 | "@types/chai": "^4.0.4", |
966eb053 RK |
170 | "@types/chai-json-schema": "^1.4.3", |
171 | "@types/chai-xml": "^0.3.1", | |
ba5a8d89 C |
172 | "@types/config": "^0.0.38", |
173 | "@types/express": "4.17.9", | |
bdd428a6 | 174 | "@types/express-rate-limit": "^5.0.0", |
313921b5 | 175 | "@types/fluent-ffmpeg": "^2.1.16", |
faa9d434 | 176 | "@types/fs-extra": "^9.0.1", |
85b4d9c5 | 177 | "@types/libxmljs": "^0.18.0", |
65fcc311 | 178 | "@types/lodash": "^4.14.64", |
557b13ae | 179 | "@types/lru-cache": "^5.1.0", |
69818c93 | 180 | "@types/magnet-uri": "^5.1.1", |
f076daa7 | 181 | "@types/maildev": "^0.0.1", |
7348b1fd | 182 | "@types/memoizee": "^0.4.2", |
bdd428a6 | 183 | "@types/mkdirp": "^1.0.0", |
50fcdebd | 184 | "@types/mocha": "^8.0.3", |
65fcc311 | 185 | "@types/morgan": "^1.7.32", |
556ddc31 | 186 | "@types/multer": "^1.3.3", |
fbd51e69 | 187 | "@types/node": "^14.14.31", |
60919831 | 188 | "@types/nodemailer": "^6.2.0", |
2db85d6b | 189 | "@types/oauth2-server": "^3.0.8", |
e4f97bab | 190 | "@types/pem": "^1.9.3", |
ecb4e35f | 191 | "@types/redis": "^2.8.5", |
556ddc31 | 192 | "@types/request": "^2.0.3", |
0e1dc3e7 | 193 | "@types/supertest": "^2.0.3", |
faa9d434 | 194 | "@types/validator": "^13.0.0", |
fce7fe04 | 195 | "@types/webtorrent": "^0.109.0", |
a22046d1 | 196 | "@types/ws": "^7.2.1", |
fce7fe04 | 197 | "@typescript-eslint/eslint-plugin": "^4.8.1", |
4abbeff5 | 198 | "autocannon": "^7.0.4", |
556ddc31 | 199 | "chai": "^4.1.1", |
966eb053 | 200 | "chai-json-schema": "^1.5.0", |
fce7fe04 | 201 | "chai-xml": "^0.4.0", |
fbd51e69 | 202 | "concurrently": "^6.0.0", |
faa9d434 | 203 | "eslint": "^7.2.0", |
ba5a8d89 | 204 | "eslint-config-standard-with-typescript": "^20.0.0", |
a1587156 C |
205 | "eslint-plugin-import": "^2.20.1", |
206 | "eslint-plugin-node": "^11.0.0", | |
207 | "eslint-plugin-promise": "^4.2.1", | |
ba5a8d89 | 208 | "eslint-plugin-standard": "^5.0.0", |
d5d9b6d7 | 209 | "libxmljs": "0.19.7", |
f076daa7 | 210 | "maildev": "^1.0.0-rc3", |
fbd51e69 | 211 | "marked": "^2.0.1", |
d5d9b6d7 | 212 | "marked-man": "^0.7.0", |
faa9d434 | 213 | "mocha": "^8.0.1", |
a5a254c4 | 214 | "nodemon": "^2.0.1", |
fce7fe04 | 215 | "socket.io-client": "^3.0.2", |
bcd1c9e1 | 216 | "source-map-support": "^0.5.0", |
fce7fe04 | 217 | "supertest": "^6.0.1", |
d9699428 | 218 | "swagger-cli": "^4.0.2", |
ba5a8d89 | 219 | "ts-node": "9.1.1", |
fce7fe04 | 220 | "typescript": "^4.0.5" |
8c308c2b | 221 | }, |
792b893e C |
222 | "scripty": { |
223 | "silent": true | |
4e554c4a | 224 | }, |
8424c402 | 225 | "sasslintConfig": "client/.sass-lint.yml", |
0672dc76 | 226 | "bundlewatch": { |
d632a147 C |
227 | "files": [ |
228 | { | |
fd0c1155 | 229 | "path": "client/dist/en-US/*.js", |
d632a147 | 230 | "maxSize": "1mb" |
a3b5e78a C |
231 | }, |
232 | { | |
233 | "path": "client/dist/standalone/videos/video-embed.bundle.js", | |
234 | "maxSize": "1mb" | |
235 | }, | |
236 | { | |
237 | "path": "client/dist/standalone/videos/video-embed.css", | |
238 | "maxSize": "1mb" | |
d632a147 C |
239 | } |
240 | ] | |
8424c402 | 241 | } |
8c308c2b | 242 | } |