Move engines outside package.json

Because of invalid warnings displayed by yarn that could confuse admins
when they install peertube
pull/4107/head
Chocobozzz 2021-05-10 09:55:01 +02:00
parent 6b6e1d5d02
commit d29ced1a85
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 6 additions and 4 deletions

5
engines.yaml Normal file
View File

@ -0,0 +1,5 @@
node: ">=12.x"
yarn: ">=1.x"
postgres: ">=10.x"
redis-server: ">=2.8.18"
ffmpeg: ">=4.1"

View File

@ -6,10 +6,7 @@
"licence": "AGPL-3.0",
"engines": {
"node": ">=12.x",
"yarn": ">=1.x",
"postgres": ">=10.x",
"redis-server": ">=2.8.18",
"ffmpeg": ">=4.1"
"yarn": ">=1.x"
},
"bin": {
"peertube": "dist/server/tools/peertube.js"