forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bower.json
116 lines (116 loc) · 3.49 KB
/
bower.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://json.schemastore.org/bower.json",
"patternProperties": {
"^_": {
"description": "Any property starting with _ is valid.",
"additionalProperties": true
}
},
"properties": {
"name": {
"description": "The name of your package.",
"type": "string",
"maxLength": 50,
"minLength": 1
},
"description": {
"description": "Help users identify and search for your package with a brief description.",
"type": "string",
"maxLength": 140
},
"version": {
"description": "A semantic version number.",
"type": "string"
},
"main": {
"description": "The primary acting files necessary to use your package.",
"type": ["string", "array"]
},
"license": {
"description": "SPDX license identifier or path/url to a license.",
"type": ["string", "array"],
"maxLength": 140
},
"ignore": {
"description": "A list of files for Bower to ignore when installing your package.",
"type": ["string", "array"]
},
"keywords": {
"description": "Used for search by keyword. Helps make your package easier to discover without people needing to know its name.",
"type": "array",
"items": {
"type": "string",
"maxLength": 50
}
},
"authors": {
"description": "A list of people that authored the contents of the package.",
"type": "array",
"items": {
"type": ["string", "object"]
}
},
"homepage": {
"description": "URL to learn more about the package. Falls back to GitHub project if not specified and it's a GitHub endpoint.",
"type": "string",
"format": "uri"
},
"repository": {
"description": "The repository in which the source code can be found.",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["git"]
},
"url": {
"type": "string",
"format": "uri"
}
}
},
"dependencies": {
"description": "Dependencies are specified with a simple hash of package name to a semver compatible identifier or URL.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"devDependencies": {
"description": "Dependencies that are only needed for development of the package, e.g., test framework or building documentation.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"resolutions": {
"description": "Dependency versions to automatically resolve with if conflicts occur between packages.",
"type": "object"
},
"private": {
"description": "If you set it to true it will refuse to publish it. This is a way to prevent accidental publication of private repositories.",
"type": "boolean"
},
"exportsOverride": {
"description": "Used by grunt-bower-task to specify custom install locations.",
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": ["string", "array"]
}
}
},
"moduleType": {
"description": "The types of modules this package exposes",
"type": ["array", "string"],
"items": {
"enum": ["amd", "es6", "globals", "node", "yui"]
}
}
},
"required": ["name"],
"title": "JSON schema for Bower configuration files",
"type": "object"
}