Files
cdnjs/test/schemata/npm-package.json
T
2013-07-05 06:28:17 +00:00

45 lines
1.3 KiB
JSON

{
"type": "object",
"name": "NPM package.json",
"description": "Package manifest file for Node.JS modules. Note that this is incomplete. http://npmjs.org/doc/json.html",
"properties": {
"filename": {
"type": "string",
"required": true,
"description": "This makes the correct path on the cdn."
},
"name": {
"type": "string",
"required": true,
"description": "The name and version together form an identifier that is assumed to be completely unique."
},
"version": {
"type": "string",
"required": true,
"description": "Version must be parseable by node-semver, which is bundled with npm as a dependency."
},
"description": {
"type": "string",
"format": "multiline"
},
"keywords": {
"type": "array",
"items": "string"
},
"homepage": {
"type": "string",
"format": "url"
},
"bugs": {
"type": "string"
},
"dependencies": {
"type": "object",
"additionalProperties": "string"
},
"private": {
"type": "boolean"
}
}
}