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