-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmeta.js
56 lines (56 loc) · 1.59 KB
/
meta.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
module.exports = {
"prompts": {
"name": {
"type": "string",
"required": true,
"message": "Project name"
},
"description": {
"type": "string",
"required": false,
"message": "Project description",
"default": "A Vue.js project"
},
"author": {
"type": "string",
"message": "Author"
},
"platform": {
"type": "list",
"message": "Platform",
"choices": [{
"name": "cordova",
"value": "cordova",
"short": "cordova"
},
{
"name": "微信",
"value": "wechat",
"short": "wechat"
}
]
},
"identifier": {
"when": "platform == 'cordova'",
"type": "string",
"required": false,
"message": "Project identifier",
"default": ""
},
"vux": {
"type": "confirm",
"message": "是否使用vux?"
},
"doc": {
"type": "confirm",
"message": "是否需要文档"
}
},
"filters": {
"CubeModule.json": "platform == 'cordova'",
"build/webpack.doc.conf.js": "doc == true",
"docs": "doc == true"
},
"skipInterpolation": ["src/**/!(App).vue", "docs/**/*"],
"completeMessage": "To get started:\n\n {{^inPlace}}cd {{destDirName}}\n {{/inPlace}}npm install\n npm run dev"
};