forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bowerrc.json
143 lines (143 loc) · 4.26 KB
/
bowerrc.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": true,
"id": "https://json.schemastore.org/bowerrc.json",
"properties": {
"analytics": {
"type": "boolean",
"default": true
},
"cwd": {
"type": "string",
"description": "The directory from which bower should run. All relative paths will be calculated according to this setting."
},
"directory": {
"type": "string",
"description": "The directory from which bower should run. All relative paths will be calculated according to this setting.",
"default": "bower_components"
},
"json": {
"type": "string",
"description": "A file path to the Bower configuration file",
"default": "bower.json"
},
"registry": {
"type": ["string", "object"],
"description": "The registry config",
"format": "uri",
"properties": {
"search": {
"type": ["array", "string"],
"description": "An array of URLs pointing to read-only Bower registries. A string means only one. When looking into the registry for an endpoint, Bower will query these registries by the specified order.",
"format": "uri"
},
"register": {
"type": "string",
"description": "The URL to use when registering packages.",
"format": "uri"
},
"publish": {
"type": "string",
"description": "The URL to use when publishing packages.",
"format": "uri"
}
}
},
"proxy": {
"type": "string",
"description": "The proxy to use for http requests.",
"format": "uri"
},
"https-proxy": {
"type": "string",
"description": "The proxy to use for https requests.",
"format": "uri"
},
"user-agent": {
"type": "string",
"description": "Sets the User-Agent for each request made."
},
"timeout": {
"type": "number",
"description": "The timeout to be used when making requests in milliseconds.",
"default": 60000
},
"strict-ssl": {
"type": "boolean",
"description": "Whether or not to do SSL key validation when making requests via https."
},
"ca": {
"type": ["object", "string"],
"description": "The CA certificates to be used, defaults to null. This is similar to the registry key, specifying each CA to use for each registry endpoint."
},
"color": {
"type": "boolean",
"description": "Enable or disable use of colors in the CLI output.",
"default": true
},
"storage": {
"type": "object",
"description": "Where to store persistent data, such as cache, needed by bower.",
"properties": {
"packages": {
"type": "string"
},
"registry": {
"type": "string"
},
"links": {
"type": "string"
}
}
},
"tmp": {
"type": "string",
"description": "Where to store temporary files and folders"
},
"interactive": {
"type": "boolean",
"description": "Makes bower interactive, prompting whenever necessary"
},
"resolvers": {
"type": "array",
"description": "Identifies pluggable resolvers to be used for locating and fetching packages",
"items": {
"type": "string"
}
},
"shallowCloneHosts": {
"type": "array",
"description": "Whitelists hosts which are known to support shallow cloning",
"items": {
"type": "string"
}
},
"scripts": {
"description": "Contains custom hooks used to trigger other automated tools",
"type": "object",
"properties": {
"preinstall": {
"type": "string",
"description": "A script to run before install"
},
"postinstall": {
"type": "string",
"description": "A script to run after install"
},
"preuninstall": {
"type": "string",
"description": "A script to run before uninstall"
}
}
},
"ignoredDependencies": {
"type": "array",
"description": "Bower will ignore these dependencies when resolving packages",
"items": {
"type": "string"
}
}
},
"title": "JSON schema for .bowerrc files",
"type": "object"
}