package.json 7.27 KB
Newer Older
Chocobozzz's avatar
Spawn    
Chocobozzz committed
1
{
2
  "name": "peertube",
Chocobozzz's avatar
Chocobozzz committed
3
  "description": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.",
Chocobozzz's avatar
Chocobozzz committed
4
  "version": "3.3.0",
Chocobozzz's avatar
Spawn    
Chocobozzz committed
5
  "private": true,
Chocobozzz's avatar
Chocobozzz committed
6
  "licence": "AGPL-3.0",
Chocobozzz's avatar
Spawn    
Chocobozzz committed
7
  "engines": {
Chocobozzz's avatar
Chocobozzz committed
8
    "node": ">=12.x",
Chocobozzz's avatar
Chocobozzz committed
9
    "yarn": ">=1.x"
10
  },
Rigel Kent's avatar
Rigel Kent committed
11
12
13
  "bin": {
    "peertube": "dist/server/tools/peertube.js"
  },
14
  "author": {
Chocobozzz's avatar
Chocobozzz committed
15
    "name": "Chocobozzz",
Chocobozzz's avatar
Chocobozzz committed
16
    "email": "chocobozzz@framasoft.org",
17
18
19
20
    "url": "http://github.com/Chocobozzz"
  },
  "repository": {
    "type": "git",
Jorropo's avatar
Jorropo committed
21
    "url": "git+https://github.com/Chocobozzz/PeerTube.git"
Chocobozzz's avatar
Spawn    
Chocobozzz committed
22
  },
23
  "typings": "*.d.ts",
Chocobozzz's avatar
Spawn    
Chocobozzz committed
24
  "scripts": {
Chocobozzz's avatar
Chocobozzz committed
25
26
27
28
29
30
31
32
33
34
    "e2e": "bash ./scripts/e2e/index.sh",
    "e2e:local": "bash ./scripts/e2e/local.sh",
    "setup:cli": "bash ./scripts/setup/cli.sh",
    "build": "bash ./scripts/build/index.sh",
    "build:embed": "bash ./scripts/build/embed.sh",
    "build:server": "bash ./scripts/build/server.sh",
    "build:client": "bash ./scripts/build/client.sh",
    "clean:client": "bash ./scripts/clean/client/index.sh",
    "clean:server:test": "bash ./scripts/clean/server/test.sh",
    "i18n:update": "bash ./scripts/i18n/update.sh",
Chocobozzz's avatar
Chocobozzz committed
35
36
    "plugin:install": "node ./dist/scripts/plugin/install.js",
    "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js",
Chocobozzz's avatar
Chocobozzz committed
37
    "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js",
Chocobozzz's avatar
Chocobozzz committed
38
    "reset-password": "node ./dist/scripts/reset-password.js",
Chocobozzz's avatar
Chocobozzz committed
39
40
41
42
43
    "dev": "bash ./scripts/dev/index.sh",
    "dev:server": "bash ./scripts/dev/server.sh",
    "dev:embed": "bash ./scripts/dev/embed.sh",
    "dev:client": "bash ./scripts/dev/client.sh",
    "dev:cli": "bash ./scripts/dev/cli.sh",
Chocobozzz's avatar
Chocobozzz committed
44
    "start": "node dist/server",
45
    "start:server": "node dist/server --no-client",
Chocobozzz's avatar
Chocobozzz committed
46
    "update-host": "node ./dist/scripts/update-host.js",
47
    "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js",
Chocobozzz's avatar
Chocobozzz committed
48
    "regenerate-thumbnails": "node ./dist/scripts/regenerate-thumbnails.js",
49
    "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
50
    "print-transcode-command": "node ./dist/scripts/print-transcode-command.js",
Chocobozzz's avatar
Chocobozzz committed
51
52
53
    "test": "bash ./scripts/test.sh",
    "help": "bash ./scripts/help.sh",
    "generate-cli-doc": "bash ./scripts/generate-cli-doc.sh",
Chocobozzz's avatar
Chocobozzz committed
54
    "parse-log": "node ./dist/scripts/parse-log.js",
55
    "prune-storage": "node ./dist/scripts/prune-storage.js",
56
    "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js",
57
    "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)",
Chocobozzz's avatar
Chocobozzz committed
58
    "tsc": "tsc",
59
    "commander": "commander",
Chocobozzz's avatar
Chocobozzz committed
60
    "lint": "npm run ci -- lint",
61
    "ng": "ng",
Chocobozzz's avatar
Chocobozzz committed
62
    "nodemon": "nodemon",
63
    "ts-node": "ts-node",
Chocobozzz's avatar
Chocobozzz committed
64
    "eslint": "eslint",
Chocobozzz's avatar
Chocobozzz committed
65
    "concurrently": "concurrently",
Chocobozzz's avatar
Chocobozzz committed
66
    "mocha": "mocha",
Chocobozzz's avatar
Chocobozzz committed
67
68
69
70
71
72
    "ci": "bash ./scripts/ci.sh",
    "release": "bash ./scripts/release.sh",
    "release-embed-api": "bash ./scripts/release-embed-api.sh",
    "nightly": "bash ./scripts/nightly.sh",
    "openapi-clients": "bash ./scripts/openapi-clients.sh",
    "client-report": "bash ./scripts/client-report.sh",
Chocobozzz's avatar
Chocobozzz committed
73
    "swagger-cli": "swagger-cli"
74
  },
Chocobozzz's avatar
Spawn    
Chocobozzz committed
75
  "dependencies": {
76
    "@uploadx/core": "^4.4.0",
Chocobozzz's avatar
Chocobozzz committed
77
    "async": "^3.0.1",
78
    "async-lru": "^1.1.1",
Chocobozzz's avatar
Chocobozzz committed
79
    "bcrypt": "5.0.1",
80
    "bittorrent-tracker": "^9.0.0",
Chocobozzz's avatar
Chocobozzz committed
81
    "bluebird": "^3.5.0",
Chocobozzz's avatar
Chocobozzz committed
82
    "bull": "^3.4.2",
83
    "bytes": "^3.0.0",
84
    "chokidar": "^3.4.2",
Chocobozzz's avatar
Chocobozzz committed
85
    "commander": "^8.0.0",
Chocobozzz's avatar
Chocobozzz committed
86
    "config": "^3.0.0",
87
    "cookie-parser": "^1.4.3",
88
    "cors": "^2.8.1",
Chocobozzz's avatar
Chocobozzz committed
89
    "create-torrent": "^4.0.0",
90
    "decache": "^4.6.0",
Aurélien Bertron's avatar
Aurélien Bertron committed
91
    "deep-object-diff": "^1.1.0",
Chocobozzz's avatar
Chocobozzz committed
92
    "email-templates": "^8.0.3",
Chocobozzz's avatar
Spawn    
Chocobozzz committed
93
    "express": "^4.12.4",
Chocobozzz's avatar
Chocobozzz committed
94
    "express-rate-limit": "^5.0.0",
Chocobozzz's avatar
Chocobozzz committed
95
    "express-validator": "^6.4.0",
Chocobozzz's avatar
Chocobozzz committed
96
    "flat": "^5.0.0",
Chocobozzz's avatar
Chocobozzz committed
97
    "fluent-ffmpeg": "^2.1.0",
Chocobozzz's avatar
Chocobozzz committed
98
    "fs-extra": "^10.0.0",
Chocobozzz's avatar
Chocobozzz committed
99
    "got": "^11.8.2",
Chocobozzz's avatar
Chocobozzz committed
100
    "helmet": "^4.1.0",
101
    "http-problem-details": "^0.1.5",
Chocobozzz's avatar
Chocobozzz committed
102
    "http-signature": "1.3.5",
Chocobozzz's avatar
Chocobozzz committed
103
    "ip-anonymize": "^0.1.0",
Chocobozzz's avatar
Chocobozzz committed
104
    "ipaddr.js": "2.0.1",
Chocobozzz's avatar
Chocobozzz committed
105
    "is-cidr": "^4.0.0",
Chocobozzz's avatar
Chocobozzz committed
106
    "iso-639-3": "2.2.0",
Chocobozzz's avatar
Chocobozzz committed
107
    "jimp": "^0.16.0",
Chocobozzz's avatar
Chocobozzz committed
108
    "js-yaml": "^4.0.0",
Chocobozzz's avatar
Chocobozzz committed
109
    "jsonld": "~5.2.0",
110
    "lodash": "^4.17.10",
Chocobozzz's avatar
Chocobozzz committed
111
    "lru-cache": "^6.0.0",
Chocobozzz's avatar
Chocobozzz committed
112
    "magnet-uri": "^6.1.0",
Chocobozzz's avatar
Chocobozzz committed
113
    "markdown-it": "^12.0.4",
Chocobozzz's avatar
Chocobozzz committed
114
    "markdown-it-emoji": "^2.0.0",
Chocobozzz's avatar
Chocobozzz committed
115
    "memoizee": "^0.4.14",
Chocobozzz's avatar
Spawn    
Chocobozzz committed
116
    "morgan": "^1.5.3",
Chocobozzz's avatar
Chocobozzz committed
117
    "multer": "^1.1.0",
118
    "node-media-server": "^2.1.4",
Chocobozzz's avatar
Chocobozzz committed
119
    "nodemailer": "^6.0.0",
Chocobozzz's avatar
Chocobozzz committed
120
    "oauth2-server": "3.1.1",
Chocobozzz's avatar
Chocobozzz committed
121
    "parse-torrent": "^9.1.0",
122
    "password-generator": "^2.0.2",
Chocobozzz's avatar
Chocobozzz committed
123
    "pem": "^1.12.3",
124
    "pfeed": "1.1.11",
Chocobozzz's avatar
Chocobozzz committed
125
    "pg": "^8.2.1",
126
    "prompt": "^1.0.0",
Chocobozzz's avatar
Chocobozzz committed
127
    "pug": "^3.0.0",
Chocobozzz's avatar
Chocobozzz committed
128
    "redis": "^3.0.2",
Chocobozzz's avatar
Chocobozzz committed
129
    "reflect-metadata": "^0.1.12",
130
    "sanitize-html": "2.x",
Chocobozzz's avatar
Chocobozzz committed
131
    "sequelize": "6.6.2",
Chocobozzz's avatar
Chocobozzz committed
132
    "sequelize-typescript": "^2.0.0-beta.1",
133
    "short-uuid": "^4.2.0",
Chocobozzz's avatar
Chocobozzz committed
134
    "sitemap": "^7.0.0",
Chocobozzz's avatar
Chocobozzz committed
135
    "socket.io": "^4.0.1",
136
    "sql-formatter": "^4.0.0-beta.0",
Chocobozzz's avatar
Chocobozzz committed
137
    "srt-to-vtt": "^1.1.2",
Chocobozzz's avatar
Chocobozzz committed
138
    "tsconfig-paths": "^3.9.0",
Chocobozzz's avatar
Chocobozzz committed
139
    "tslib": "^2.0.0",
140
    "useragent": "^2.3.0",
Chocobozzz's avatar
Chocobozzz committed
141
    "validator": "^13.0.0",
Chocobozzz's avatar
Chocobozzz committed
142
    "webfinger.js": "^2.6.6",
Chocobozzz's avatar
Chocobozzz committed
143
    "webtorrent": "^1.0.0",
Chocobozzz's avatar
Chocobozzz committed
144
    "winston": "3.3.3",
Chocobozzz's avatar
Chocobozzz committed
145
    "ws": "^7.0.0",
Chocobozzz's avatar
Chocobozzz committed
146
    "youtube-dl": "^3.0.2"
Chocobozzz's avatar
Spawn    
Chocobozzz committed
147
148
  },
  "devDependencies": {
Chocobozzz's avatar
Chocobozzz committed
149
    "@openapitools/openapi-generator-cli": "^2.1.4",
150
    "@types/apicache": "^1.2.0",
Chocobozzz's avatar
Chocobozzz committed
151
    "@types/async": "^3.0.0",
152
    "@types/async-lock": "^1.1.0",
Chocobozzz's avatar
Chocobozzz committed
153
    "@types/bcrypt": "^5.0.0",
Chocobozzz's avatar
Chocobozzz committed
154
    "@types/bluebird": "^3.5.33",
Chocobozzz's avatar
Chocobozzz committed
155
    "@types/body-parser": "^1.16.3",
Chocobozzz's avatar
Chocobozzz committed
156
    "@types/bull": "^3.15.0",
157
    "@types/bytes": "^3.0.0",
Chocobozzz's avatar
Chocobozzz committed
158
    "@types/chai": "^4.0.4",
159
160
    "@types/chai-json-schema": "^1.4.3",
    "@types/chai-xml": "^0.3.1",
Chocobozzz's avatar
Chocobozzz committed
161
162
    "@types/config": "^0.0.38",
    "@types/express": "4.17.9",
Chocobozzz's avatar
Chocobozzz committed
163
    "@types/express-rate-limit": "^5.0.0",
164
    "@types/fluent-ffmpeg": "^2.1.16",
Chocobozzz's avatar
Chocobozzz committed
165
    "@types/fs-extra": "^9.0.1",
Chocobozzz's avatar
Chocobozzz committed
166
    "@types/lodash": "^4.14.64",
Chocobozzz's avatar
Chocobozzz committed
167
    "@types/lru-cache": "^5.1.0",
Chocobozzz's avatar
Chocobozzz committed
168
    "@types/magnet-uri": "^5.1.1",
Chocobozzz's avatar
Chocobozzz committed
169
    "@types/maildev": "^0.0.2",
Chocobozzz's avatar
Chocobozzz committed
170
    "@types/memoizee": "^0.4.2",
Chocobozzz's avatar
Chocobozzz committed
171
    "@types/mkdirp": "^1.0.0",
Chocobozzz's avatar
Chocobozzz committed
172
    "@types/mocha": "^8.0.3",
Chocobozzz's avatar
Chocobozzz committed
173
    "@types/morgan": "^1.7.32",
174
    "@types/multer": "^1.3.3",
Chocobozzz's avatar
Chocobozzz committed
175
    "@types/node": "^14.14.31",
Chocobozzz's avatar
Chocobozzz committed
176
    "@types/nodemailer": "^6.2.0",
Chocobozzz's avatar
Chocobozzz committed
177
    "@types/oauth2-server": "^3.0.8",
Chocobozzz's avatar
Chocobozzz committed
178
    "@types/pem": "^1.9.3",
Chocobozzz's avatar
Chocobozzz committed
179
    "@types/redis": "^2.8.5",
180
    "@types/request": "^2.0.3",
Chocobozzz's avatar
Chocobozzz committed
181
    "@types/supertest": "^2.0.3",
Chocobozzz's avatar
Chocobozzz committed
182
    "@types/validator": "^13.0.0",
Chocobozzz's avatar
Chocobozzz committed
183
    "@types/webtorrent": "^0.109.0",
Chocobozzz's avatar
Chocobozzz committed
184
    "@types/ws": "^7.2.1",
Chocobozzz's avatar
Chocobozzz committed
185
    "@typescript-eslint/eslint-plugin": "^4.8.1",
Chocobozzz's avatar
Chocobozzz committed
186
    "autocannon": "^7.0.4",
187
    "chai": "^4.1.1",
188
    "chai-json-schema": "^1.5.0",
Chocobozzz's avatar
Chocobozzz committed
189
    "chai-xml": "^0.4.0",
Chocobozzz's avatar
Chocobozzz committed
190
    "concurrently": "^6.0.0",
Chocobozzz's avatar
Chocobozzz committed
191
    "eslint": "^7.2.0",
Chocobozzz's avatar
Chocobozzz committed
192
    "eslint-config-standard-with-typescript": "^20.0.0",
Chocobozzz's avatar
Chocobozzz committed
193
194
    "eslint-plugin-import": "^2.20.1",
    "eslint-plugin-node": "^11.0.0",
Chocobozzz's avatar
Chocobozzz committed
195
    "eslint-plugin-promise": "^5.1.0",
Chocobozzz's avatar
Chocobozzz committed
196
    "eslint-plugin-standard": "^5.0.0",
197
    "fast-xml-parser": "^3.19.0",
Chocobozzz's avatar
Chocobozzz committed
198
    "maildev": "^1.0.0-rc3",
Chocobozzz's avatar
Chocobozzz committed
199
    "marked": "^2.0.1",
Chocobozzz's avatar
Chocobozzz committed
200
    "marked-man": "^0.7.0",
Chocobozzz's avatar
Chocobozzz committed
201
    "mocha": "^9.0.0",
Chocobozzz's avatar
Chocobozzz committed
202
    "nodemon": "^2.0.1",
Chocobozzz's avatar
Chocobozzz committed
203
    "socket.io-client": "^4.0.1",
Chocobozzz's avatar
Chocobozzz committed
204
    "source-map-support": "^0.5.0",
Chocobozzz's avatar
Chocobozzz committed
205
    "supertest": "^6.0.1",
Chocobozzz's avatar
Chocobozzz committed
206
    "swagger-cli": "^4.0.2",
Chocobozzz's avatar
Chocobozzz committed
207
    "ts-node": "10.0.0",
Chocobozzz's avatar
Chocobozzz committed
208
    "typescript": "^4.0.5"
Chocobozzz's avatar
Spawn    
Chocobozzz committed
209
  },
kimsible's avatar
kimsible committed
210
  "bundlewatch": {
Chocobozzz's avatar
Chocobozzz committed
211
212
    "files": [
      {
Chocobozzz's avatar
Chocobozzz committed
213
        "path": "client/dist/en-US/*.js",
Chocobozzz's avatar
Chocobozzz committed
214
        "maxSize": "1mb"
215
216
217
218
219
220
221
222
      },
      {
        "path": "client/dist/standalone/videos/video-embed.bundle.js",
        "maxSize": "1mb"
      },
      {
        "path": "client/dist/standalone/videos/video-embed.css",
        "maxSize": "1mb"
Chocobozzz's avatar
Chocobozzz committed
223
224
      }
    ]
225
  }
Chocobozzz's avatar
Spawn    
Chocobozzz committed
226
}