add dist/source to package definition
parent
585773a3cc
commit
62a890df5c
|
@ -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" ] }
|
||||
|
|
Loading…
Reference in New Issue