1
0
Fork 0

add dist/source to package definition

pull/5752/head
Rob Bast 2016-10-04 13:20:37 +02:00
parent 585773a3cc
commit 62a890df5c
No known key found for this signature in database
GPG Key ID: 73076E35E6165F39
1 changed files with 6 additions and 0 deletions

View File

@ -74,6 +74,12 @@
"package": {
"allOf": [
{ "$ref": "#/definitions/package-base" },
{
"properties": {
"dist": { "type": "object" },
"source": { "type": "object" }
}
},
{ "oneOf": [
{ "required": [ "name", "version", "source" ] },
{ "required": [ "name", "version", "dist" ] }