]>
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.", |
69e0e678 | 4 | "version": "3.0.1", |
8c308c2b | 5 | "private": true, |
478924a0 | 6 | "licence": "AGPL-3.0", |
8c308c2b | 7 | "engines": { |
0c4bacbf | 8 | "node": ">=10.x <13", |
867ed651 RK |
9 | "yarn": ">=1.x", |
10 | "postgres": ">=9.6", | |
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", |
0138af92 | 56 | "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js", |
09849603 | 57 | "print-transcode-command": "node ./dist/scripts/print-transcode-command.js", |
93534495 C |
58 | "test": "scripty", |
59 | "help": "scripty", | |
7cf3e573 | 60 | "generate-cli-doc": "scripty", |
f96d1df3 | 61 | "parse-log": "node ./dist/scripts/parse-log.js", |
a9729e21 | 62 | "prune-storage": "node ./dist/scripts/prune-storage.js", |
edb4ffc7 | 63 | "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js", |
59092428 | 64 | "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)", |
75fb0c0b | 65 | "tsc": "tsc", |
d0e848b7 | 66 | "commander": "commander", |
2284f202 | 67 | "lint": "npm run ci -- lint", |
cbca00df | 68 | "ng": "ng", |
1840c2f7 | 69 | "nodemon": "nodemon", |
df98563e | 70 | "ts-node": "ts-node", |
a1587156 | 71 | "eslint": "eslint", |
6cca7360 | 72 | "concurrently": "concurrently", |
4de2fafc RK |
73 | "sasslint": "sass-lint --verbose --no-exit", |
74 | "sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose", | |
76434ec8 | 75 | "mocha": "mocha", |
2284f202 | 76 | "ci": "scripty", |
24a8e782 | 77 | "release": "scripty", |
03d641a0 | 78 | "release-embed-api": "scripty", |
2284f202 | 79 | "nightly": "scripty", |
002df381 | 80 | "openapi-clients": "scripty", |
a3705089 C |
81 | "client-report": "scripty", |
82 | "swagger-cli": "swagger-cli", | |
83 | "sass-lint": "sass-lint" | |
4de2fafc | 84 | }, |
3637106d | 85 | "resolutions": { |
50fcdebd | 86 | "oauth2-server": "3.1.0-beta.1", |
fce7fe04 | 87 | "http-signature": "1.3.5" |
3637106d | 88 | }, |
8c308c2b | 89 | "dependencies": { |
47f6409b | 90 | "apicache": "^1.4.0", |
60919831 | 91 | "async": "^3.0.1", |
f981dae8 | 92 | "async-lru": "^1.1.1", |
faa9d434 | 93 | "bcrypt": "5.0.0", |
72329aaa | 94 | "bittorrent-tracker": "^9.0.0", |
6fcd19ba | 95 | "bluebird": "^3.5.0", |
8c308c2b | 96 | "body-parser": "^1.12.4", |
2cdf27ba | 97 | "bull": "^3.4.2", |
c48e82b5 | 98 | "bytes": "^3.0.0", |
c6c0fa6c | 99 | "chokidar": "^3.4.2", |
50fcdebd | 100 | "commander": "^6.0.0", |
f9a971c6 | 101 | "config": "^3.0.0", |
8afc19a6 | 102 | "cookie-parser": "^1.4.3", |
b9ab2e25 | 103 | "cors": "^2.8.1", |
523990db | 104 | "create-torrent": "^4.0.0", |
59390818 | 105 | "deep-object-diff": "^1.1.0", |
df4c603d | 106 | "email-templates": "^7.0.4", |
8c308c2b | 107 | "express": "^4.12.4", |
c6720f0b | 108 | "express-oauth-server": "^2.0.0", |
9a11f733 | 109 | "express-rate-limit": "^5.0.0", |
a1587156 | 110 | "express-validator": "^6.4.0", |
a5a254c4 | 111 | "flat": "^5.0.0", |
3a8a8b51 | 112 | "fluent-ffmpeg": "^2.1.0", |
d9699428 | 113 | "fs-extra": "^9.0.0", |
50fcdebd | 114 | "helmet": "^4.1.0", |
fce7fe04 | 115 | "http-signature": "1.3.5", |
60919831 | 116 | "ip-anonymize": "^0.1.0", |
50fcdebd | 117 | "ipaddr.js": "2.0.0", |
faa9d434 | 118 | "is-cidr": "^4.0.0", |
a22046d1 | 119 | "iso-639-3": "^2.0.0", |
50fcdebd | 120 | "jimp": "^0.16.0", |
e1c8024a | 121 | "js-yaml": "^3.5.4", |
fce7fe04 | 122 | "jsonld": "~3.2.0", |
d1bd87e0 | 123 | "lodash": "^4.17.10", |
50fcdebd | 124 | "lru-cache": "^6.0.0", |
fce7fe04 C |
125 | "magnet-uri": "^6.1.0", |
126 | "markdown-it": "12.0.2", | |
c2ecfe82 | 127 | "markdown-it-emoji": "^2.0.0", |
7348b1fd | 128 | "memoizee": "^0.4.14", |
8c308c2b | 129 | "morgan": "^1.5.3", |
207fbab4 | 130 | "multer": "^1.1.0", |
c6c0fa6c | 131 | "node-media-server": "^2.1.4", |
a1a216d9 | 132 | "nodemailer": "^6.0.0", |
3637106d | 133 | "oauth2-server": "3.1.0-beta.1", |
fce7fe04 | 134 | "parse-torrent": "^9.1.0", |
bb1e6d0c | 135 | "password-generator": "^2.0.2", |
e4f97bab | 136 | "pem": "^1.12.3", |
69c7f752 | 137 | "pfeed": "1.1.11", |
faa9d434 | 138 | "pg": "^8.2.1", |
de17453a | 139 | "prompt": "^1.0.0", |
faa9d434 | 140 | "pug": "^3.0.0", |
bdd428a6 | 141 | "redis": "^3.0.2", |
a4255d8e | 142 | "reflect-metadata": "^0.1.12", |
0dd079da | 143 | "request": "^2.81.0", |
98b94643 | 144 | "sanitize-html": "2.x", |
d9699428 | 145 | "scripty": "^2.0.0", |
b49f22d8 C |
146 | "sequelize": "6.3.5", |
147 | "sequelize-typescript": "^2.0.0-beta.1", | |
d9699428 | 148 | "sitemap": "^6.1.0", |
fce7fe04 | 149 | "socket.io": "^3.0.2", |
f4001cf4 | 150 | "srt-to-vtt": "^1.1.2", |
464687bb | 151 | "tsconfig-paths": "^3.9.0", |
e0ef8dab | 152 | "tslib": "^2.0.0", |
aad0ec24 | 153 | "useragent": "^2.3.0", |
faa9d434 | 154 | "uuid": "^8.1.0", |
d9699428 | 155 | "validator": "^13.0.0", |
e4f97bab | 156 | "webfinger.js": "^2.6.6", |
fce7fe04 | 157 | "webtorrent": "^0.111.0", |
50fcdebd | 158 | "winston": "3.3.3", |
60919831 | 159 | "ws": "^7.0.0", |
a1587156 | 160 | "youtube-dl": "^3.0.2" |
8c308c2b C |
161 | }, |
162 | "devDependencies": { | |
fce7fe04 | 163 | "@openapitools/openapi-generator-cli": "^2.1.4", |
47f6409b | 164 | "@types/apicache": "^1.2.0", |
60919831 | 165 | "@types/async": "^3.0.0", |
b40f0575 | 166 | "@types/async-lock": "^1.1.0", |
f7454ca6 | 167 | "@types/bcrypt": "^3.0.0", |
fce7fe04 | 168 | "@types/bluebird": "3.5.33", |
65fcc311 | 169 | "@types/body-parser": "^1.16.3", |
fce7fe04 | 170 | "@types/bull": "3.14.4", |
c48e82b5 | 171 | "@types/bytes": "^3.0.0", |
0e1dc3e7 | 172 | "@types/chai": "^4.0.4", |
966eb053 RK |
173 | "@types/chai-json-schema": "^1.4.3", |
174 | "@types/chai-xml": "^0.3.1", | |
60815a79 | 175 | "@types/config": "^0.0.36", |
65fcc311 | 176 | "@types/express": "^4.0.35", |
bdd428a6 | 177 | "@types/express-rate-limit": "^5.0.0", |
313921b5 | 178 | "@types/fluent-ffmpeg": "^2.1.16", |
faa9d434 | 179 | "@types/fs-extra": "^9.0.1", |
85b4d9c5 | 180 | "@types/libxmljs": "^0.18.0", |
65fcc311 | 181 | "@types/lodash": "^4.14.64", |
557b13ae | 182 | "@types/lru-cache": "^5.1.0", |
69818c93 | 183 | "@types/magnet-uri": "^5.1.1", |
f076daa7 | 184 | "@types/maildev": "^0.0.1", |
7348b1fd | 185 | "@types/memoizee": "^0.4.2", |
bdd428a6 | 186 | "@types/mkdirp": "^1.0.0", |
50fcdebd | 187 | "@types/mocha": "^8.0.3", |
65fcc311 | 188 | "@types/morgan": "^1.7.32", |
556ddc31 | 189 | "@types/multer": "^1.3.3", |
faa9d434 | 190 | "@types/node": "^14.0.13", |
60919831 | 191 | "@types/nodemailer": "^6.2.0", |
2db85d6b | 192 | "@types/oauth2-server": "^3.0.8", |
e4f97bab | 193 | "@types/pem": "^1.9.3", |
ecb4e35f | 194 | "@types/redis": "^2.8.5", |
556ddc31 | 195 | "@types/request": "^2.0.3", |
0e1dc3e7 | 196 | "@types/supertest": "^2.0.3", |
faa9d434 | 197 | "@types/validator": "^13.0.0", |
fce7fe04 | 198 | "@types/webtorrent": "^0.109.0", |
a22046d1 | 199 | "@types/ws": "^7.2.1", |
fce7fe04 | 200 | "@typescript-eslint/eslint-plugin": "^4.8.1", |
556ddc31 | 201 | "chai": "^4.1.1", |
966eb053 | 202 | "chai-json-schema": "^1.5.0", |
fce7fe04 | 203 | "chai-xml": "^0.4.0", |
d5d9b6d7 | 204 | "concurrently": "^5.0.0", |
faa9d434 | 205 | "eslint": "^7.2.0", |
fce7fe04 | 206 | "eslint-config-standard-with-typescript": "^19.0.1", |
a1587156 C |
207 | "eslint-plugin-import": "^2.20.1", |
208 | "eslint-plugin-node": "^11.0.0", | |
209 | "eslint-plugin-promise": "^4.2.1", | |
210 | "eslint-plugin-standard": "^4.0.1", | |
d5d9b6d7 | 211 | "libxmljs": "0.19.7", |
f076daa7 | 212 | "maildev": "^1.0.0-rc3", |
faa9d434 | 213 | "marked": "^1.1.0", |
d5d9b6d7 | 214 | "marked-man": "^0.7.0", |
faa9d434 | 215 | "mocha": "^8.0.1", |
a5a254c4 | 216 | "nodemon": "^2.0.1", |
fce7fe04 | 217 | "socket.io-client": "^3.0.2", |
bcd1c9e1 | 218 | "source-map-support": "^0.5.0", |
fce7fe04 | 219 | "supertest": "^6.0.1", |
d9699428 | 220 | "swagger-cli": "^4.0.2", |
50fcdebd | 221 | "ts-node": "9.0.0", |
fce7fe04 | 222 | "typescript": "^4.0.5" |
8c308c2b | 223 | }, |
792b893e C |
224 | "scripty": { |
225 | "silent": true | |
4e554c4a | 226 | }, |
8424c402 C |
227 | "sasslintConfig": "client/.sass-lint.yml", |
228 | "_moduleAliases": { | |
229 | "@server": "dist/server" | |
d632a147 | 230 | }, |
0672dc76 | 231 | "bundlewatch": { |
d632a147 C |
232 | "files": [ |
233 | { | |
234 | "path": "client/dist/en-US/*-es2015.js", | |
235 | "maxSize": "1mb" | |
a3b5e78a C |
236 | }, |
237 | { | |
238 | "path": "client/dist/standalone/videos/video-embed.bundle.js", | |
239 | "maxSize": "1mb" | |
240 | }, | |
241 | { | |
242 | "path": "client/dist/standalone/videos/video-embed.css", | |
243 | "maxSize": "1mb" | |
d632a147 C |
244 | } |
245 | ] | |
8424c402 | 246 | } |
8c308c2b | 247 | } |