generated from ModusCreateOrg/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gimbalrc.yml
62 lines (59 loc) · 1.32 KB
/
.gimbalrc.yml
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
audits:
- axe
- size
- lighthouse
- heap-snapshot
- source-map-explorer
configs:
buildDir: www
heap-snapshot:
threshold:
Documents: 20
Frames: 10
LayoutCount: 20
Nodes: 1000
RecalcStyleCount: 50
lighthouse:
threshold:
accessibility: 80
'best-practices': 80
performance: 0
pwa: 20
seo: 90
size:
threshold:
- path: www
maxSize: 20 MB
- path: www/main-*.js
maxSize: 3 KB
- path: www/polyfills-es5.js
maxSize: 200 KB
- path: www/runtime-*.js
maxSize: 1.75 KB
- path: www/styles-*.js
maxSize: 5.25 KB
- path: www/vendor-*.js
maxSize: 700 KB
outputs:
cli:
onlyFailures: true
html: artifacts/gimbal.html
json: artifacts/gimbal.json
markdown: artifacts/gimbal.md
plugins:
- plugin: '@modus/gimbal-plugin-axe'
thresholds:
aria-allowed-attr: critical
color-contrast: serious
empty-heading: minor
landmark-one-main: moderate
landmark-complementary-is-top-level: moderate
meta-viewport: critical
region: moderate
page-has-heading-one: moderate
scrollable-region-focusable: moderate
- plugin: '@modus/gimbal-plugin-source-map-explorer'
bundles:
- path: '*.js'
thresholds:
<unmapped>: 5 MB