forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstraprc.json
121 lines (121 loc) · 3.61 KB
/
bootstraprc.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"allOf": [
{
"$ref": "#/definitions/coreProperties"
},
{
"anyOf": [
{
"properties": {
"env": {
"description": "Sets the extractStyles property based on the value of NODE_ENV",
"type": "object",
"properties": {
"development": {
"$ref": "#/definitions/extractStyling"
},
"production": {
"$ref": "#/definitions/extractStyling"
}
}
}
},
"not": {
"properties": {
"extractStyles": {}
},
"required": ["extractStyles"]
}
},
{
"properties": {
"extractStyles": {
"$ref": "#/definitions/extractStyling/properties/extractStyles"
}
},
"not": {
"properties": {
"env": {}
},
"required": ["env"]
}
}
]
},
{
"required": ["bootstrapVersion", "styleLoaders"]
}
],
"definitions": {
"extractStyling": {
"type": "object",
"properties": {
"extractStyles": {
"default": false,
"description": "Enables/disables extraction of styles to a standalone CSS file using extract-text-webpack-plugin",
"type": "boolean"
}
}
},
"coreProperties": {
"type": "object",
"properties": {
"appStyles": {
"description": "Import your custom styles here. Usually this endpoint file contains a list of @imports of your application styles.",
"type": "string"
},
"bootstrapCustomizations": {
"description": "The .scss file path to be loaded after Bootstrap's _variables.scss file",
"type": "string"
},
"bootstrapVersion": {
"default": 3,
"description": "The major version of Bootstrap being used",
"enum": [3, 4],
"type": "integer"
},
"loglevel": {
"description": "The verbosity of logging. Exclude this property to disable.",
"enum": ["debug"],
"type": "string"
},
"preBootstrapCustomizations": {
"description": "The .scss file path to be loaded before Bootstrap's _variables.scss file",
"type": "string"
},
"scripts": {
"description": "Excludes/includes Bootstrap's JavaScript modules",
"type": ["boolean", "object"]
},
"styleLoaders": {
"default": ["style", "css", "sass"],
"description": "An array of Webpack loader names. Order matters, and sass-loader is required.",
"items": {
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"styles": {
"description": "Excludes/includes Bootstrap's CSS modules",
"type": ["boolean", "object"]
},
"useCustomIconFontPath": {
"default": false,
"description": "Set to true if using a custom icon font and you need to specify its path in your Sass files",
"type": "boolean"
},
"useFlexbox": {
"default": true,
"description": "Enables/disables the flexbox model available in Bootstrap 4",
"type": "boolean"
}
}
}
},
"id": "https://json.schemastore.org/bootstraprc.json",
"title": "JSON schema for Webpack's bootstrap-loader configuration file",
"type": "object"
}