-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbundle-configuration.schema.json
53 lines (53 loc) · 1.49 KB
/
bundle-configuration.schema.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
{
"$id": "https://json-schema.org/draft/2020-12/output/schema",
"$schema": "http://json-schema.org/draft-07/schema",
"title": "cm4all-wp-bundle configuration",
"description": "cm4all-wp-bundle JSON configuration",
"additionalProperties": false,
"properties": {
"wordpress": {
"type": "object",
"additionalProperties": false,
"examples": [
{
"mapping": {
"@foo/bar": "myapp.foo.bar",
"debug": "myapp.debug"
}
}
],
"properties": {
"mappings": {
"type": "object",
"description": "If true the eslint wordpress plugin will log more informations",
"examples": [],
"additionalProperties": true
},
"verbose": {
"type": "boolean",
"description": "If true the eslint wordpress plugin will log more informations"
}
}
},
"sass": {
"type": "object",
"description": "Please refer to https://sass-lang.com/documentation/js-api/interfaces/Options for all possible settings",
"additionalProperties": true
},
"eslint": {
"type": "object",
"examples": [
{
"loader": {
".png": "dataurl",
".svg": "text"
},
"drop": ["console", "debugger"]
}
],
"description": "Please refer to https://esbuild.github.io/api/#simple-options for all possible settings",
"additionalProperties": true
}
},
"type": "object"
}