-
Notifications
You must be signed in to change notification settings - Fork 1
/
questions.js
58 lines (58 loc) · 2.23 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
module.exports = [
{
message: 'Choose a front-end framework',
choices: [
{value: 'aurelia', title: 'Aurelia'},
{value: 'react', title: 'React'},
{value: 'no-framework', title: 'None'}
]
},
{
if: 'aurelia',
message: 'What kind of Aurelia project?',
choices: [
{title: 'App', hint: 'A normal single page application in Aurelia'},
{value: 'plugin', title: 'Plugin', hint: 'An Aurelia plugin project'}
]
},
{
message: 'What browsers to support?',
choices: [
{title: 'IE 11 :-(', hint: "No need to explain, we feel you!"},
{value: 'evergreen', title: 'Evergreen Browsers :-)', hint: 'Only for evergreen browsers like Chrome, Firefox, Edge and Safari.'}
]
},
{
message: 'What JavaScript transpiler to use?',
choices: [
{value: 'babel', title: 'ESNext (babel)', hint: 'Use next generation JavaScript, today.'},
{value: 'typescript', title: 'TypeScript', hint: 'TypeScript is a typed superset of Javascript that compiles to plain JavaScript.'}
]
},
{
message: 'What CSS preprocessor to use?',
choices: [
{value: 'css', title: 'Plain CSS'},
{value: 'less', title: 'Less'},
{value: 'sass', title: 'Sass (.scss)'}
]
},
{
message: 'What unit testing framework to use?',
choices: [
{value: 'no-unit-tests', title: 'None', hint: 'No unit testing'},
{if: '!aurelia', value: 'jest', title: 'Jest', hint: 'Runs in Node.js, simulates browser, with a focus on simplicity.'},
{if: 'aurelia', value: 'jest', title: 'Jest', hint: 'Runs in Node.js, simulates browser (aurelia-pal-nodejs), with a focus on simplicity.'},
{value: 'jasmine', title: 'Jasmine', hint: 'Runs in browser, a behavior-driven testing framework.'},
{value: 'mocha', title: 'Mocha + Chai', hint: 'Runs in browser, a feature-rich JavaScript test framework for node and browsers.'},
{value: 'tape', title: 'Tape', hint: 'Runs in browser, tap-producing test harness for node and browsers.'}
]
},
{
message: 'Do you want to setup e2e test?',
choices: [
{title: 'No'},
{value: 'playwright', title: 'Yes (Playwright)', hint: 'Playwright enables reliable end-to-end testing for modern web apps.'}
]
}
];