sync API version with PeerTube version and auto-update it via git hooks
[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.1.0-alpha.2",
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     "update-host": "node ./dist/scripts/update-host.js",
47     "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js",
48     "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
49     "test": "scripty",
50     "help": "scripty",
51     "generate-api-doc": "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": "cd client && yarn install --pure-lockfile",
57     "tsc": "tsc",
58     "spectacle-docs": "node_modules/spectacle-docs/bin/spectacle.js",
59     "commander": "commander",
60     "ng": "ng",
61     "nodemon": "nodemon",
62     "ts-node": "ts-node",
63     "tslint": "tslint",
64     "concurrently": "concurrently",
65     "sasslint": "sass-lint --verbose --no-exit",
66     "sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose",
67     "mocha": "mocha",
68     "travis": "scripty",
69     "release": "scripty",
70     "client-report": "scripty"
71   },
72   "husky": {
73     "hooks": {
74       "pre-commit": "lint-staged && ./scripts/openapi-peertube-version.sh"
75     }
76   },
77   "lint-staged": {
78     "*.scss": [
79       "sass-lint -c client/.sass-lint.yml",
80       "git add"
81     ]
82   },
83   "resolutions": {
84     "@types/bluebird": "3.5.21"
85   },
86   "dependencies": {
87     "application-config": "^1.0.1",
88     "async": "^2.0.0",
89     "async-lock": "^1.1.2",
90     "async-lru": "^1.1.1",
91     "bcrypt": "2",
92     "bittorrent-tracker": "^9.0.0",
93     "bluebird": "^3.5.0",
94     "body-parser": "^1.12.4",
95     "bull": "^3.4.2",
96     "bytes": "^3.0.0",
97     "cli-table": "^0.3.1",
98     "commander": "^2.13.0",
99     "concurrently": "^4.0.1",
100     "config": "^2.0.1",
101     "cookie-parser": "^1.4.3",
102     "cors": "^2.8.1",
103     "create-torrent": "^3.24.5",
104     "deep-object-diff": "^1.1.0",
105     "express": "^4.12.4",
106     "express-oauth-server": "^2.0.0",
107     "express-rate-limit": "^3.1.0",
108     "express-validator": "^5.0.0",
109     "flat": "^4.1.0",
110     "fluent-ffmpeg": "^2.1.0",
111     "fs-extra": "^7.0.0",
112     "helmet": "^3.12.1",
113     "http-signature": "^1.2.0",
114     "ip-anonymize": "^0.0.6",
115     "ipaddr.js": "1.8.1",
116     "is-cidr": "^2.0.5",
117     "iso-639-3": "^1.0.1",
118     "js-yaml": "^3.5.4",
119     "jsonld": "^1.0.1",
120     "jsonld-signatures": "https://github.com/Chocobozzz/jsonld-signatures#rsa2017",
121     "lodash": "^4.17.10",
122     "magnet-uri": "^5.1.4",
123     "marked-man": "^0.2.1",
124     "memoizee": "^0.4.14",
125     "morgan": "^1.5.3",
126     "multer": "^1.1.0",
127     "netrc-parser": "^3.1.6",
128     "nodemailer": "^4.4.2",
129     "parse-torrent": "^6.0.0",
130     "password-generator": "^2.0.2",
131     "pem": "^1.12.3",
132     "pfeed": "^1.1.6",
133     "pg": "^7.4.1",
134     "pg-hstore": "^2.3.2",
135     "prompt": "^1.0.0",
136     "redis": "^2.8.0",
137     "reflect-metadata": "^0.1.10",
138     "request": "^2.81.0",
139     "safe-buffer": "^5.0.1",
140     "scripty": "^1.5.0",
141     "sequelize": "4.38.0",
142     "sequelize-typescript": "0.6.6",
143     "sharp": "^0.20.0",
144     "srt-to-vtt": "^1.1.2",
145     "summon-install": "^0.4.3",
146     "useragent": "^2.3.0",
147     "uuid": "^3.1.0",
148     "validator": "^10.2.0",
149     "webfinger.js": "^2.6.6",
150     "webtorrent": "^0.102.1",
151     "winston": "3.1.0",
152     "ws": "^6.0.0",
153     "youtube-dl": "^1.12.2"
154   },
155   "devDependencies": {
156     "@types/async": "^2.0.40",
157     "@types/async-lock": "^1.1.0",
158     "@types/bcrypt": "^2.0.0",
159     "@types/bluebird": "3.5.21",
160     "@types/body-parser": "^1.16.3",
161     "@types/bull": "^3.3.12",
162     "@types/bytes": "^3.0.0",
163     "@types/chai": "^4.0.4",
164     "@types/chai-json-schema": "^1.4.3",
165     "@types/chai-xml": "^0.3.1",
166     "@types/config": "^0.0.34",
167     "@types/express": "^4.0.35",
168     "@types/express-rate-limit": "^2.9.3",
169     "@types/fluent-ffmpeg": "^2.1.8",
170     "@types/fs-extra": "^5.0.4",
171     "@types/libxmljs": "^0.18.0",
172     "@types/lodash": "^4.14.64",
173     "@types/magnet-uri": "^5.1.1",
174     "@types/maildev": "^0.0.1",
175     "@types/memoizee": "^0.4.2",
176     "@types/mkdirp": "^0.5.1",
177     "@types/mocha": "^5.0.0",
178     "@types/morgan": "^1.7.32",
179     "@types/multer": "^1.3.3",
180     "@types/node": "^10.0.8",
181     "@types/nodemailer": "^4.3.1",
182     "@types/oauth2-server": "^3.0.8",
183     "@types/pem": "^1.9.3",
184     "@types/redis": "^2.8.5",
185     "@types/request": "^2.0.3",
186     "@types/sharp": "^0.17.6",
187     "@types/supertest": "^2.0.3",
188     "@types/validator": "^9.4.0",
189     "@types/webtorrent": "^0.98.4",
190     "@types/ws": "^6.0.0",
191     "chai": "^4.1.1",
192     "chai-json-schema": "^1.5.0",
193     "chai-xml": "^0.3.2",
194     "husky": "^1.0.0-rc.4",
195     "libxmljs": "0.19.3",
196     "lint-staged": "^7.1.0",
197     "maildev": "^1.0.0-rc3",
198     "mocha": "^5.0.0",
199     "nodemon": "^1.11.0",
200     "sass-lint": "^1.12.1",
201     "source-map-support": "^0.5.0",
202     "spectacle-docs": "^1.0.2",
203     "supertest": "^3.0.0",
204     "ts-node": "7.0.1",
205     "tslint": "^5.7.0",
206     "tslint-config-standard": "^8.0.1",
207     "typescript": "^2.5.2",
208     "xliff": "^4.0.0"
209   },
210   "scripty": {
211     "silent": true
212   },
213   "summon": {
214     "silent": true
215   },
216   "sasslintConfig": "client/.sass-lint.yml"
217 }