sitespeed.io/release/friendlyNamesBudget.js

18 lines
483 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use strict';
const friendly = require('../lib/support/friendlynames');
console.log('{');
console.log(' "budget": {');
for (let key of Object.keys(friendly)) {
for (let tool of Object.keys(friendly[key])) {
console.log(' "' + tool + '": {');
for (let metric of Object.keys(friendly[key][tool])) {
console.log(' "' + metric + '": limit,');
}
console.log(' },');
}
}
console.log(' }');
console.log('}');