-
Notifications
You must be signed in to change notification settings - Fork 0
/
meta.js
47 lines (46 loc) · 1002 Bytes
/
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
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",
"default": "example"
},
"psm": {
"type": "string",
"required": true,
"default": "xx.xx.xx",
"message": "psm identifier"
},
"description": {
"type": "string",
"required": false,
"message": "Project description",
"default": "A basic FE project."
},
"author": {
"type": "string",
"message": "Author"
},
"redux": {
"type": "confirm",
"message": "Use Redux?"
}
},
"filters": {
".eslintrc.js": "lint",
".eslintignore": "lint",
"config/test.env.js": "unit || e2e",
"test/unit/**/*": "unit",
"test/e2e/**/*": "e2e"
},
"completeMessage": "cd {{destDirName}} && fe dev"
};