-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.gimbalrc.yml
138 lines (135 loc) · 4.31 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
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
audits:
# - axe
- heap-snapshot
- lighthouse
- size
- source-map-explorer
# - unused-source
configs:
comment:
onlyFailures: true
heap-snapshot:
threshold:
LayoutCount: 14
Nodes: 650
RecalcStyleCount: 20
lighthouse:
threshold:
accessibility: 50
best-practices: 90
performance: 0
pwa: 0
seo: 80
route:
- /dashboard
- /theater/theater
- /weather/10001
- /nest
- /sensors
- /autelis
- /smartthings
serve:
rewrites:
- destination: index.html
source: "*"
size:
- path: ./build/precache-*.js
maxSize: 30 KB
- path: ./build/dll/vendor_*.dll.js
maxSize: 1 KB
- path: ./build/static/js/demo-config.*.chunk.js
maxSize: 3 KB
- path: ./build/static/js/framer.*.chunk.js
maxSize: 200 B
- path: ./build/static/js/main.*.chunk.js
maxSize: 2 KB
- path: ./build/static/js/phone.*.chunk.js
maxSize: 1 B
- path: ./build/static/js/robodomo.*.chunk.js
maxSize: 3 KB
- path: ./build/static/js/tab-autelis.*.chunk.js
maxSize: 4.5 KB
- path: ./build/static/js/tab-dashboard.*.chunk.js
maxSize: 6 KB
- path: ./build/static/js/tab-nest.*.chunk.js
maxSize: 3.75 KB
- path: ./build/static/js/tab-sensors.*.chunk.js
maxSize: 2 KB
- path: ./build/static/js/tab-smartthings.*.chunk.js
maxSize: 3.5 KB
- path: ./build/static/js/tab-theater.*.chunk.js
maxSize: 10 KB
- path: ./build/static/js/tab-weather.*.chunk.js
maxSize: 3.5 KB
- path: ./build/static/js/tablet.*.chunk.js
maxSize: 2 KB
- path: ./build/static/js/*.chunk.js
maxSize: 64 KB
- path: ./build/static/js/runtime*.js
maxSize: 3.25 KB
- path: ./build/static/media/*.svg
maxSize: 1.5 KB
- path: ./build/img/App/{nest_manager_analytics,protect_icon,remote_sensor_icon,nst_manager_icon@3x,nst_manager_logo,nest_manager_analytics,info_icon,automation_icon,info_icon}.png
maxSize: 275 KB
- path: ./build/img/App/{weather_icon,thermostat_icon_2,thermostat_automation_icon,nst_manager_icon@2x}*.png
maxSize: 200 KB
- path: ./build/img/App/{api_diag_icon,day_calendar_icon,help_ring_icon,leak_icon,login_icon,mode_automation_icon,mode_away_icon,mode_home_icon,nest_manager,open_window}*.png
maxSize: 150 KB
- path: ./build/img/App/{wiki_icon,vthermostat_icon,update_icon,thermostat_icon,temperature_icon,setpoint_automation_icon,rm_icon,presence_icon,nst_manager_icon,no_icon,nest_dev_away_icon,mode_setpoints_icon,mode_icon,hvac_mode_icon,feedback_icon,fan_control_icon,fan_circulation_icon,diag_icon}*.png
maxSize: 100 KB
- path: ./build/img/App/help_icon.png
maxSize: 350 KB
- path: ./build/img/App/*.png
maxSize: 50 KB
- path: ./build/favicon.ico
maxSize: 11 KB
- path: ./build/index.html
maxSize: 5 KB
- path: ./build/
maxSize: 50 MB
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-role: minor
bypass: serious
landmark-one-main: moderate
meta-viewport: critical
page-has-heading-one: moderate
region: moderate
- plugin: "@modus/gimbal-plugin-source-map-explorer"
bundles:
- path: "**/main.*.js"
thresholds:
../delegated 0 from dll-reference vendor*: 50 B
../external "vendor_*": 75 B
../delegated 65 from dll-reference vendor_*: 50 B
../delegated 1252 from dll-reference vendor_*: 150 B
serviceWorker.js: 2 KB
index.js: 600 B
<unmapped>: 5 KB
- path: "**/*.chunk.js"
thresholds:
"../**/*.js": 400 KB
"**/*.js": 400 KB
<unmapped>: 2 KB
- "!precache-manifest*"
- "!service-worker.js"
- "!**/runtime*.js"
# - '@modus/gimbal-plugin-last-value'
# - plugin: '@modus/gimbal-plugin-mysql'
# enabled: ${env:CI, true, false}
# commandPrefix:
# - robodomo-${env:CIRCLE_USERNAME}-${env:CIRCLE_BRANCH}
# - robodomo-${env:CIRCLE_BRANCH}
# - robodomo
# lastValue:
# database: robodomo_gimbal
# host: ${env:GIMBAL_MYSQL_HOST}
# password: ${env:GIMBAL_MYSQL_PASSWORD}
# user: ${env:GIMBAL_MYSQL_USERNAME}