-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions.js
65 lines (64 loc) · 1.14 KB
/
questions.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
const questions = {
appName: {
type: 'input',
name: 'appNameInput',
message: 'Insert app name.'
},
template: {
type: 'list',
name: 'templateInput',
message: 'Select template.',
choices: [
{
name: 'Vite',
value: 'vitejs'
},
{
name: 'Nextjs',
value: 'nextjs'
},
{
name: 'React Create App',
value: 'cra'
}
]
},
language: {
type: 'list',
name: 'languageInput',
message: 'Select language.',
choices: [
{
name: 'Javascript',
value: 'javascript'
},
{
name: 'Typescript',
value: 'typescript'
}
]
},
styled: {
type: 'list',
name: 'styledInput',
message: 'Select styled lib.',
choices: [
{
name: 'styled-components',
value: 'styled-components'
},
{
name: 'Stitches (Coming soon)',
value: 'stitches'
}
]
},
overrideFolder: {
type: 'confirm',
name: 'overrideFolder',
message: 'The folder already exists, do you want to overwrite it?.'
}
};
module.exports = {
questions
};