Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const paramCase = require('param-case')
, bootswatch = require('bootswatch/api/3.json').themes
, bareReact = require.resolve('generator-bare-react')
, colors = require('chalk')
const { Base } = require('yeoman-generator')
const PERMISSIONS =
[ 'tabs'
, 'bookmarks'
, 'cookies'
, 'history'
, 'management' ]
const DEV_DEPENDENCIES =
{ 'babelify': '~6.4.0'
, 'browserify': null // use latest
, 'envify': null
function bootswatchNames() {
return bootswatch.map(theme => theme.name)
}