generator-svalter
Version:
Generator to help you create and manage svelte/sapper application
36 lines (35 loc) • 797 B
JavaScript
;
module.exports = [
{
name: 'patterns',
config: {
desc: 'Defines patterns for path variables (separated by ; )',
type: String,
alias: 'pattern',
},
},
{
name: 'json-api',
config: {
alias: 'api',
type: Boolean,
desc: 'Creates a json API file in that route',
},
},
{
name: 'page-component',
config: {
alias: 'page',
type: Boolean,
desc: 'Creates a page component file in that route',
},
},
{
name: 'page-layout',
config: {
alias: 'layout',
type: Boolean,
desc: 'Creates a page layout file in that route',
},
},
];