Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const camelCase = require('camelcase');
const licensesInformation = require('spdx-license-list/spdx-simple.json')
const licenses = licensesInformation.map(name => ({
name,
value: name
}));
const prompts = module.exports = [
{
type: 'input',
name: 'componentName',
message: 'Enter the component name (in PascalCase- no hyphen nor dash):'
},
{
type: 'confirm',
name: 'useComponentFixture',
message: 'Use componentFixture to build example?',
default: true,
group: 'Example',