aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json33
1 files changed, 20 insertions, 13 deletions
diff --git a/package.json b/package.json
index bc514920d..391e1ff90 100644
--- a/package.json
+++ b/package.json
@@ -43,19 +43,18 @@
43 "dev:server": "scripty", 43 "dev:server": "scripty",
44 "dev:client": "scripty", 44 "dev:client": "scripty",
45 "start": "node dist/server", 45 "start": "node dist/server",
46 "start:server": "node dist/server --no-client",
46 "update-host": "node ./dist/scripts/update-host.js", 47 "update-host": "node ./dist/scripts/update-host.js",
47 "create-transcoding-job": "node ./dist/scripts/create-transcoding-job.js", 48 "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 "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
49 "test": "scripty", 50 "test": "scripty",
50 "help": "scripty", 51 "help": "scripty",
51 "generate-api-doc": "scripty",
52 "generate-cli-doc": "scripty", 52 "generate-cli-doc": "scripty",
53 "parse-log": "node ./dist/scripts/parse-log.js", 53 "parse-log": "node ./dist/scripts/parse-log.js",
54 "prune-storage": "node ./dist/scripts/prune-storage.js", 54 "prune-storage": "node ./dist/scripts/prune-storage.js",
55 "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js", 55 "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js",
56 "postinstall": "cd client && yarn install --pure-lockfile", 56 "postinstall": "cd client && yarn install --pure-lockfile",
57 "tsc": "tsc", 57 "tsc": "tsc",
58 "spectacle-docs": "node_modules/spectacle-docs/bin/spectacle.js",
59 "commander": "commander", 58 "commander": "commander",
60 "ng": "ng", 59 "ng": "ng",
61 "nodemon": "nodemon", 60 "nodemon": "nodemon",
@@ -71,13 +70,21 @@
71 }, 70 },
72 "husky": { 71 "husky": {
73 "hooks": { 72 "hooks": {
74 "pre-commit": "lint-staged" 73 "pre-commit": "./scripts/openapi-peertube-version.sh && lint-staged"
75 } 74 }
76 }, 75 },
77 "lint-staged": { 76 "lint-staged": {
78 "*.scss": [ 77 "*.scss": [
79 "sass-lint -c client/.sass-lint.yml", 78 "sass-lint -c client/.sass-lint.yml",
80 "git add" 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"
81 ] 88 ]
82 }, 89 },
83 "resolutions": { 90 "resolutions": {
@@ -88,7 +95,7 @@
88 "async": "^2.0.0", 95 "async": "^2.0.0",
89 "async-lock": "^1.1.2", 96 "async-lock": "^1.1.2",
90 "async-lru": "^1.1.1", 97 "async-lru": "^1.1.1",
91 "bcrypt": "2", 98 "bcrypt": "3.0.2",
92 "bittorrent-tracker": "^9.0.0", 99 "bittorrent-tracker": "^9.0.0",
93 "bluebird": "^3.5.0", 100 "bluebird": "^3.5.0",
94 "body-parser": "^1.12.4", 101 "body-parser": "^1.12.4",
@@ -113,7 +120,7 @@
113 "http-signature": "^1.2.0", 120 "http-signature": "^1.2.0",
114 "ip-anonymize": "^0.0.6", 121 "ip-anonymize": "^0.0.6",
115 "ipaddr.js": "1.8.1", 122 "ipaddr.js": "1.8.1",
116 "is-cidr": "^2.0.5", 123 "is-cidr": "^3.0.0",
117 "iso-639-3": "^1.0.1", 124 "iso-639-3": "^1.0.1",
118 "js-yaml": "^3.5.4", 125 "js-yaml": "^3.5.4",
119 "jsonld": "^1.0.1", 126 "jsonld": "^1.0.1",
@@ -138,9 +145,9 @@
138 "request": "^2.81.0", 145 "request": "^2.81.0",
139 "safe-buffer": "^5.0.1", 146 "safe-buffer": "^5.0.1",
140 "scripty": "^1.5.0", 147 "scripty": "^1.5.0",
141 "sequelize": "4.38.0", 148 "sequelize": "4.41.2",
142 "sequelize-typescript": "0.6.6", 149 "sequelize-typescript": "0.6.6",
143 "sharp": "^0.20.0", 150 "sharp": "^0.21.0",
144 "srt-to-vtt": "^1.1.2", 151 "srt-to-vtt": "^1.1.2",
145 "summon-install": "^0.4.3", 152 "summon-install": "^0.4.3",
146 "useragent": "^2.3.0", 153 "useragent": "^2.3.0",
@@ -155,7 +162,7 @@
155 "devDependencies": { 162 "devDependencies": {
156 "@types/async": "^2.0.40", 163 "@types/async": "^2.0.40",
157 "@types/async-lock": "^1.1.0", 164 "@types/async-lock": "^1.1.0",
158 "@types/bcrypt": "^2.0.0", 165 "@types/bcrypt": "^3.0.0",
159 "@types/bluebird": "3.5.21", 166 "@types/bluebird": "3.5.21",
160 "@types/body-parser": "^1.16.3", 167 "@types/body-parser": "^1.16.3",
161 "@types/bull": "^3.3.12", 168 "@types/bull": "^3.3.12",
@@ -183,7 +190,7 @@
183 "@types/pem": "^1.9.3", 190 "@types/pem": "^1.9.3",
184 "@types/redis": "^2.8.5", 191 "@types/redis": "^2.8.5",
185 "@types/request": "^2.0.3", 192 "@types/request": "^2.0.3",
186 "@types/sharp": "^0.17.6", 193 "@types/sharp": "^0.21.0",
187 "@types/supertest": "^2.0.3", 194 "@types/supertest": "^2.0.3",
188 "@types/validator": "^9.4.0", 195 "@types/validator": "^9.4.0",
189 "@types/webtorrent": "^0.98.4", 196 "@types/webtorrent": "^0.98.4",
@@ -192,19 +199,19 @@
192 "chai-json-schema": "^1.5.0", 199 "chai-json-schema": "^1.5.0",
193 "chai-xml": "^0.3.2", 200 "chai-xml": "^0.3.2",
194 "husky": "^1.0.0-rc.4", 201 "husky": "^1.0.0-rc.4",
195 "libxmljs": "0.19.3", 202 "libxmljs": "0.19.5",
196 "lint-staged": "^7.1.0", 203 "lint-staged": "^8.0.4",
197 "maildev": "^1.0.0-rc3", 204 "maildev": "^1.0.0-rc3",
198 "mocha": "^5.0.0", 205 "mocha": "^5.0.0",
199 "nodemon": "^1.11.0", 206 "nodemon": "^1.11.0",
200 "sass-lint": "^1.12.1", 207 "sass-lint": "^1.12.1",
201 "source-map-support": "^0.5.0", 208 "source-map-support": "^0.5.0",
202 "spectacle-docs": "^1.0.2",
203 "supertest": "^3.0.0", 209 "supertest": "^3.0.0",
210 "swagger-cli": "^2.2.0",
204 "ts-node": "7.0.1", 211 "ts-node": "7.0.1",
205 "tslint": "^5.7.0", 212 "tslint": "^5.7.0",
206 "tslint-config-standard": "^8.0.1", 213 "tslint-config-standard": "^8.0.1",
207 "typescript": "^2.5.2", 214 "typescript": "^3.1.6",
208 "xliff": "^4.0.0" 215 "xliff": "^4.0.0"
209 }, 216 },
210 "scripty": { 217 "scripty": {