1
0
Fork 0

Merge pull request #37 from transitive-bullshit/feature/typescript-support-v2

add typescript support v2
This commit is contained in:
Travis Fischer 2018-07-11 12:27:58 -04:00 committed by Joost De Cock
parent faba0e5f9e
commit c0769c2743
45 changed files with 2544 additions and 6662 deletions

View file

@ -64,12 +64,20 @@ module.exports = async (opts) => {
message: 'Package Manager',
choices: [ 'npm', 'yarn' ],
default: opts.manager
},
{
type: 'list',
name: 'template',
message: 'Template',
choices: [ 'default', 'typescript' ],
default: opts.template
}
])
config.set('author', info.author)
config.set('license', info.license)
config.set('manager', info.manager)
config.set('template', info.template)
return info
}