-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gimbalrc.yml
61 lines (59 loc) · 1.34 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
audits:
- axe
- size
- lighthouse
- heap-snapshot
- source-map-explorer
configs:
buildDir: dist
heap-snapshot:
threshold:
Documents: 20
Frames: 10
LayoutCount: 20
Nodes: 1000
RecalcStyleCount: 50
lighthouse:
threshold:
accessibility: 80
'best-practices': 80
performance: 30
pwa: 50
seo: 90
size:
threshold:
- path: dist
maxSize: 10 MB
- path: dist/js/chunk*.js
maxSize: 250 KB
- path: dist/js/polyfills*.js
maxSize: 31 KB
- path: dist/js/runtime-*.js
maxSize: 3.75 KB
- path: dist/precache-*.js
maxSize: 15 KB
- path: dist/index.html
maxSize: 8 KB
outputs:
cli:
onlyFailures: true
html: artifacts/gimbal.html
json: artifacts/gimbal.json
markdown: artifacts/gimbal.md
plugins:
- plugin: '@modus/gimbal-plugin-axe'
thresholds:
color-contrast: serious
page-has-heading-one: moderate
landmark-one-main: serious
empty-heading: serious
# This happened due to navigation layout. Neeed to fix after redesign
duplicate-id-active: serious
duplicate-id-aria: critical
bypass: critical
region: moderate
- plugin: '@modus/gimbal-plugin-source-map-explorer'
bundles:
- path: '*.js'
thresholds:
<unmapped>: 5 MB