Files
shields/lib/export-supported-features-cli.js
2018-07-23 15:19:55 -05:00

20 lines
382 B
JavaScript

'use strict';
const path = require('path');
const glob = require('glob');
const supportedFeatures = {
logos: glob
.sync(`${__dirname}/../logo/*.svg`)
.map(filename => path.basename(filename, '.svg')),
advertisedStyles: [
'plastic',
'flat',
'flat-square',
'for-the-badge',
'social',
],
};
console.log(JSON.stringify(supportedFeatures, null, 2));