node-ff
Version:
A CLI for creating NodeJs projects
46 lines • 1.09 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.questions = void 0;
const questions = [
{
type: 'text',
name: 'project',
message: `O nome do meu projeto será:`,
initial: 'my-app',
},
{
type: 'toggle',
name: 'git',
message: 'Quero inicializar o Git no meu projeto?',
initial: true,
active: 'yes',
inactive: 'no',
},
{
type: 'toggle',
name: 'typing',
message: 'Quero criar meu projeto com Typescript?',
initial: true,
active: 'yes',
inactive: 'no',
},
{
type: 'select',
name: 'orm',
message: 'Quero utilizar ORM no meu projeto?',
choices: [
{
title: 'Sequelize',
value: 'sequelize',
},
{
title: 'Não usar ORM',
value: false,
},
],
initial: 0,
max: 1,
},
];
exports.questions = questions;
//# sourceMappingURL=questions.js.map