You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.4 KiB
55 lines
1.4 KiB
{
|
|
"prompts": {
|
|
"name": {
|
|
"type": "string",
|
|
"required": true,
|
|
"label": "Project name"
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"required": true,
|
|
"label": "The version of the package",
|
|
"default": "0.1.0"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"required": true,
|
|
"label": "Project description",
|
|
"default": "A Vue.js project"
|
|
},
|
|
"author": {
|
|
"type": "string",
|
|
"label": "Author"
|
|
},
|
|
"build": {
|
|
"type": "list",
|
|
"message": "Vue build",
|
|
"choices": [
|
|
{
|
|
"name": "Runtime + Compiler: recommended for most users",
|
|
"value": "standalone",
|
|
"short": "standalone"
|
|
},
|
|
{
|
|
"name": "Runtime-only: about 6KB lighter min+gzip, but templates (or any Vue-specific HTML) are ONLY allowed in .vue files - render functions are required elsewhere",
|
|
"value": "runtime",
|
|
"short": "runtime"
|
|
}
|
|
]
|
|
},
|
|
"lint": {
|
|
"type": "confirm",
|
|
"message": "Use ESLint to lint your code?"
|
|
},
|
|
"unit": {
|
|
"type": "confirm",
|
|
"message": "Setup unit tests with Karma + Jasmine?"
|
|
}
|
|
},
|
|
"filters": {
|
|
".eslintrc.js": "lint",
|
|
"test/unit/**/*": "unit",
|
|
"test/e2e/**/*": "e2e"
|
|
},
|
|
"completeMessage": "To get started:\n\n cd {{destDirName}}\n npm install\n npm run dev"
|
|
}
|