-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathroc.setup.json
executable file
·57 lines (57 loc) · 1.75 KB
/
roc.setup.json
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
{
"prompts": {
"name": {
"type": "string",
"required": true,
"message": "Project name"
},
"description": {
"type": "string",
"required": false,
"message": "Project description",
"default": "A Roc project"
},
"author": {
"type": "string",
"message": "Author"
},
"license": {
"type": "list",
"choices": [{
"name": "MIT"
}, {
"name": "UNLICENSED"
}]
},
"port": {
"type": "input",
"message": "Port",
"default": 3000
},
"title": {
"type": "string",
"message": "<title>"
},
"fetchExample": {
"type": "confirm",
"message": "Include data-fetching example?"
},
"reduxExample": {
"type": "confirm",
"message": "Include Redux example with data-fetching?"
},
"testJest": {
"type": "confirm",
"message": "Include Jest for testing?"
}
},
"filters": {
"LICENSE": "license === 'MIT'",
"src/redux/**/*": "reduxExample",
"src/components/redux/**/*": "reduxExample",
"src/components/clicker/**/*": "reduxExample",
"src/components/fetching/**/*": "fetchExample",
"src/components/**/*.spec.js": "testJest"
},
"completionMessage": "To get started:\n\n{{#unless inPlace}} cd {{destDirName}}\n{{/unless}} npm install\n npm run dev\n\n It will open your default browser when ready.\n You can change this by setting 'dev.browsersync.options.open' to 'false' in roc.config.js"
}