forked from erguotou520/vue-fullstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meta.js
43 lines (43 loc) · 1.18 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
module.exports = {
"prompts": {
"name": {
"type": "string",
"required": true,
"message": "Project name",
"default": "vue-fullstack"
},
"description": {
"type": "string",
"required": false,
"message": "Project description",
"default": "A vue-fullstack project"
},
"author": {
"type": "string",
"message": "Author"
},
"backendPort": {
"type": "string",
"message": "Port that backend server listen at development environment",
"default": 9000
},
"frontendPort": {
"type": "string",
"message": "Port that frontend server listen at development environment",
"default": 9001
},
"mongoUri": {
"type": "string",
"message": "MongoDB uri, '-dev' will be appended in development, default is local uri"
},
"i18n": {
"type": "confirm",
"message": "Need vue-i18n?"
}
},
"filters": {
"tasks/**/*.*": "!i18n"
},
"skipInterpolation": "{client/**/*.vue,tasks/**/*.*}",
"completeMessage": "To get started:\n\n cd {{destDirName}}\n npm install\n{{#unless i18n}} npm run remove:i18n\n{{/unless}} npm run server\n npm run client"
};