Merging this separately so the commit with the tooling change is readable. This is a follow-on to #1167 which turned prettier on.
22 lines
412 B
JavaScript
22 lines
412 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',
|
|
'popout',
|
|
'popout-square',
|
|
'social',
|
|
],
|
|
}
|
|
|
|
console.log(JSON.stringify(supportedFeatures, null, 2))
|