UNPKG

762 BJavaScriptView Raw
1/**
2 * Quasar App Extension prompts script
3 *
4 * Inquirer prompts
5 * (answers are available as "api.prompts" in the other scripts)
6 * https://www.npmjs.com/package/inquirer#question
7 *
8 */
9
10module.exports = function() {
11 return [
12 {
13 name: 'webpack',
14 type: 'list',
15 required: true,
16 message: 'Please choose how to derive webpack:',
17 choices: [
18 {
19 name: 'Use vanilla ts-loader (recommended)',
20 value: 'vanilla'
21 },
22 {
23 name: 'Use the fork-ts-checker-webpack-plugin module for type-checking',
24 value: 'plugin'
25 }
26 ]
27 },
28 {
29 name: 'rename',
30 type: 'confirm',
31 required: true,
32 message: 'Rename .js files to .ts (experimental)'
33 }
34 ]
35}