mirror of
https://github.com/wahyd4/cdnjs.git
synced 2026-08-16 16:27:12 +10:00
45 lines
1.3 KiB
JSON
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"
|
|
}
|
|
}
|
|
}
|