forked from centreon-archive/centreon-archived
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlighthouserc.js
More file actions
30 lines (29 loc) · 721 Bytes
/
Copy pathlighthouserc.js
File metadata and controls
30 lines (29 loc) · 721 Bytes
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
const baseUrl = 'http://localhost:4000/';
module.exports = {
baseUrl,
ci: {
assert: {
preset: 'lighthouse:no-pwa',
},
collect: {
isSinglePageApplication: true,
numberOfRuns: 1,
puppeteerScript: './puppeteer-script.js',
settings: {
configPath:
'./node_modules/lighthouse/lighthouse-core/config/lr-desktop-config.js',
onlyCategories: [
'performance',
'accessibility',
'best-practices',
'seo',
],
},
url: `${baseUrl}centreon/monitoring/resources`,
},
upload: {
reportFilenamePattern: '.lighthouseci/lighthouseci-index.%%EXTENSION%%',
target: 'filesystem',
},
},
};