add NOCLIENT option to install only server dependencies
[oweals/peertube.git] / package.json
1 {
2   "name": "peertube",
3   "description": "Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.",
4   "version": "1.2.1",
5   "private": true,
6   "licence": "AGPLv3",
7   "engines": {
8     "node": ">=8.x"
9   },
10   "bin": {
11     "peertube": "dist/server/tools/peertube.js"
12   },
13   "author": {
14     "name": "Chocobozzz",
15     "email": "chocobozzz@cpy.re",
16     "url": "http://github.com/Chocobozzz"
17   },
18   "repository": {
19     "type": "git",
20     "url": "git+https://github.com/Chocobozzz/PeerTube.git"
21   },
22   "typings": "*.d.ts",
23   "scripts": {
24     "e2e": "scripty",
25     "e2e:local": "scripty",
26     "build": "SCRIPTY_PARALLEL=true scripty",
27     "build:server": "scripty",
28     "build:client": "scripty",
29     "clean:client": "scripty",
30     "clean:server": "scripty",
31     "clean:server:test": "scripty",
32     "watch:client": "scripty",
33     "watch:server": "scripty",
34     "danger:clean:dev": "scripty",
35     "danger:clean:prod": "scripty",
36     "danger:clean:modules": "scripty",
37     "i18n:generate": "scripty",
38     "i18n:xliff2json": "node ./dist/scripts/i18n/xliff2json.js",
39     "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js",
40     "reset-password": "node ./dist/scripts/reset-password.js",
41     "play": "scripty",
42     "dev": "scripty",
43     "dev:server": "scripty",
44     "dev:client": "scripty",
45     "start": "node dist/server",
46     "start:server": "node dist/server --no-client",
47     "update-host": "node ./dist/scripts/update-host.js",
48     "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js",
49     "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
50     "test": "scripty",
51     "help": "scripty",
52     "generate-cli-doc": "scripty",
53     "parse-log": "node ./dist/scripts/parse-log.js",
54     "prune-storage": "node ./dist/scripts/prune-storage.js",
55     "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js",
56     "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)",
57     "tsc": "tsc",
58     "commander": "commander",
59     "ng": "ng",
60     "nodemon": "nodemon",
61     "ts-node": "ts-node",
62     "tslint": "tslint",
63     "concurrently": "concurrently",
64     "sasslint": "sass-lint --verbose --no-exit",
65     "sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose",
66     "mocha": "mocha",
67     "travis": "scripty",
68     "release": "scripty",
69     "client-report": "scripty"
70   },
71   "husky": {
72     "hooks": {
73       "pre-commit": "lint-staged"
74     }
75   },
76   "lint-staged": {
77     "*.scss": [
78       "sass-lint -c client/.sass-lint.yml",
79       "git add"
80     ],
81     "support/doc/api/*.yaml": [
82       "node ./node_modules/swagger-cli/bin/swagger-cli.js validate support/doc/api/openapi.yaml",
83       "git add"
84     ],
85     "server/tools/README.md": [
86       "npm run generate-cli-doc",
87       "git add"
88     ]
89   },
90   "resolutions": {
91     "@types/bluebird": "3.5.21"
92   },
93   "dependencies": {
94     "application-config": "^1.0.1",
95     "async": "^2.0.0",
96     "async-lock": "^1.1.2",
97     "async-lru": "^1.1.1",
98     "bcrypt": "3.0.4",
99     "bittorrent-tracker": "^9.0.0",
100     "bluebird": "^3.5.0",
101     "body-parser": "^1.12.4",
102     "bull": "^3.4.2",
103     "bytes": "^3.0.0",
104     "cli-table": "^0.3.1",
105     "commander": "^2.13.0",
106     "concurrently": "^4.0.1",
107     "config": "^3.0.0",
108     "cookie-parser": "^1.4.3",
109     "cors": "^2.8.1",
110     "create-torrent": "^3.24.5",
111     "deep-object-diff": "^1.1.0",
112     "express": "^4.12.4",
113     "express-oauth-server": "^2.0.0",
114     "express-rate-limit": "^3.1.0",
115     "express-validator": "^5.0.0",
116     "flat": "^4.1.0",
117     "fluent-ffmpeg": "^2.1.0",
118     "fs-extra": "^7.0.0",
119     "helmet": "^3.12.1",
120     "http-signature": "^1.2.0",
121     "ip-anonymize": "^0.0.6",
122     "ipaddr.js": "1.9.0",
123     "is-cidr": "^3.0.0",
124     "iso-639-3": "^1.0.1",
125     "js-yaml": "^3.5.4",
126     "jsonld": "~1.1.0",
127     "jsonld-signatures": "https://github.com/Chocobozzz/jsonld-signatures#rsa2017",
128     "lodash": "^4.17.10",
129     "magnet-uri": "^5.1.4",
130     "memoizee": "^0.4.14",
131     "morgan": "^1.5.3",
132     "multer": "^1.1.0",
133     "netrc-parser": "^3.1.6",
134     "nodemailer": "^5.1.1",
135     "parse-torrent": "^6.0.0",
136     "password-generator": "^2.0.2",
137     "pem": "^1.12.3",
138     "pfeed": "^1.1.6",
139     "pg": "^7.4.1",
140     "prompt": "^1.0.0",
141     "redis": "^2.8.0",
142     "reflect-metadata": "^0.1.12",
143     "request": "^2.81.0",
144     "scripty": "^1.5.0",
145     "sequelize": "4.42.0",
146     "sequelize-typescript": "0.6.7",
147     "sharp": "^0.21.0",
148     "sitemap": "^2.1.0",
149     "socket.io": "^2.2.0",
150     "srt-to-vtt": "^1.1.2",
151     "summon-install": "^0.4.3",
152     "useragent": "^2.3.0",
153     "uuid": "^3.1.0",
154     "validator": "^10.2.0",
155     "webfinger.js": "^2.6.6",
156     "webtorrent": "^0.103.0",
157     "winston": "3.2.1",
158     "ws": "^6.0.0",
159     "youtube-dl": "^1.12.2"
160   },
161   "devDependencies": {
162     "@types/async": "^2.0.40",
163     "@types/async-lock": "^1.1.0",
164     "@types/bcrypt": "^3.0.0",
165     "@types/bluebird": "3.5.21",
166     "@types/body-parser": "^1.16.3",
167     "@types/bull": "3.4.0",
168     "@types/bytes": "^3.0.0",
169     "@types/chai": "^4.0.4",
170     "@types/chai-json-schema": "^1.4.3",
171     "@types/chai-xml": "^0.3.1",
172     "@types/config": "^0.0.34",
173     "@types/express": "^4.0.35",
174     "@types/express-rate-limit": "^3.3.0",
175     "@types/fluent-ffmpeg": "^2.1.8",
176     "@types/fs-extra": "^5.0.4",
177     "@types/libxmljs": "^0.18.0",
178     "@types/lodash": "^4.14.64",
179     "@types/magnet-uri": "^5.1.1",
180     "@types/maildev": "^0.0.1",
181     "@types/memoizee": "^0.4.2",
182     "@types/mkdirp": "^0.5.1",
183     "@types/mocha": "^5.0.0",
184     "@types/morgan": "^1.7.32",
185     "@types/multer": "^1.3.3",
186     "@types/node": "^10.0.8",
187     "@types/nodemailer": "^4.3.1",
188     "@types/oauth2-server": "^3.0.8",
189     "@types/pem": "^1.9.3",
190     "@types/redis": "^2.8.5",
191     "@types/request": "^2.0.3",
192     "@types/sharp": "^0.21.0",
193     "@types/socket.io": "^2.1.2",
194     "@types/supertest": "^2.0.3",
195     "@types/validator": "^10.9.0",
196     "@types/webtorrent": "^0.98.4",
197     "@types/ws": "^6.0.0",
198     "chai": "^4.1.1",
199     "chai-json-schema": "^1.5.0",
200     "chai-xml": "^0.3.2",
201     "husky": "^1.0.0-rc.4",
202     "libxmljs": "0.19.5",
203     "lint-staged": "^8.0.4",
204     "maildev": "^1.0.0-rc3",
205     "marked-man": "^0.4.2",
206     "mocha": "^6.0.0",
207     "nodemon": "^1.18.6",
208     "sass-lint": "^1.12.1",
209     "source-map-support": "^0.5.0",
210     "supertest": "^3.0.0",
211     "swagger-cli": "^2.2.0",
212     "ts-node": "8.0.2",
213     "tslint": "^5.7.0",
214     "tslint-config-standard": "^8.0.1",
215     "typescript": "^3.1.6",
216     "xliff": "^4.0.0"
217   },
218   "scripty": {
219     "silent": true
220   },
221   "summon": {
222     "silent": true
223   },
224   "sasslintConfig": "client/.sass-lint.yml"
225 }