-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmeta.js
More file actions
59 lines (58 loc) · 1.44 KB
/
meta.js
File metadata and controls
59 lines (58 loc) · 1.44 KB
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
59
module.exports = {
"helpers": {
"if_or": function (v1, v2, options) {
if (v1 || v2) {
return options.fn(this);
}
return options.inverse(this);
}
},
"prompts": {
"name": {
"type": "string",
"required": true,
"message": "Project name"
},
"description": {
"type": "string",
"required": false,
"message": "Project description",
"default": "IDG B-side Vue.js project"
},
"author": {
"type": "string",
"message": "Your name",
"required": true
},
"service": {
"type": "string",
"message": "Your project service name",
"required": true
},
"appkey": {
"type": "string",
"message": "Your dev appkey",
"default": "rjtwfgeqm2ankhx91wcp3hkeycujiutl"
},
"channel": {
"type": "integer",
"message": "Your dev channel",
"default": 1
},
"unit": {
"type": "confirm",
"message": "Setup unit tests with Karma + Mocha?"
},
"example": {
"type": "confirm",
"message": "install with example?"
}
},
"filters": {
"config/test.env.js": "unit",
"test/unit/**/*": "unit",
"build/webpack.test.conf.js": "unit",
"src/views/example.vue": "example"
},
"completeMessage": "To get started:\n\n {{^inPlace}}cd {{destDirName}}\n {{/inPlace}}npm install\n npm run dev\n\nDocumentation can be found at https://vuejs-templates.github.io/webpack"
};