-
Notifications
You must be signed in to change notification settings - Fork 0
/
regen.example.json
106 lines (106 loc) · 2.72 KB
/
regen.example.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"usesTypeScript": false,
"usesCssModule": false,
"cssPreprocessor": "scss",
"testLibrary": "Testing Library",
"component": {
"default": {
"path": "src/components",
"withStyle": true,
"withLazy": true,
"withStory": true,
"withTest": true
},
"atom": {
"path": "src/components/atoms",
"withStyle": true,
"withLazy": true,
"withStory": true,
"withTest": true
},
"custom": {
"customTemplates": {
"component": "templates/component/TemplateName.js",
"style": "templates/component/TemplateName.css",
"lazy": "templates/component/TemplateName.lazy.js",
"story": "templates/component/TemplateName.stories.js",
"test": "templates/component/TemplateName.test.js"
},
"path": "src/components/custom",
"withStyle": false,
"withLazy": false,
"withStory": false,
"withTest": true
}
},
"hook": {
"default": {
"path": "src/hooks",
"withTest": true
},
"jobOrder": {
"path": "src/hooks/jobOrder",
"withTest": true
},
"custom": {
"customTemplates": {
"hook": "templates/hook/TemplateName.hook.js",
"test": "templates/hook/TemplateName.hook.test.js"
},
"path": "src/hooks/custom",
"withTest": true
}
},
"view": {
"default": {
"path": "src/views",
"withRoute": true,
"withViewModel": true,
"withTest": true
},
"report": {
"path": "src/views/report",
"withRoute": true,
"withViewModel": true,
"withTest": true
},
"custom": {
"customTemplates": {
"view": "templates/view/TemplateName.view.js",
"route": "templates/view/TemplateName.route.js",
"viewModel": "templates/view/TemplateName.viewModel.js",
"viewTest": "templates/view/TemplateName.view.test.js",
"routeTest": "templates/view/TemplateName.route.test.js",
"viewModelTest": "templates/view/TemplateName.viewModel.test.js"
},
"path": "src/views/custom",
"withRoute": true,
"withViewModel": true,
"withTest": true
}
},
"scaffold": {
"default": {
"url": "https://github.com/rifandani/frontend-template-rest.git"
},
"vite": {
"command": "npm create vite@latest my-react-app -- --template react-ts"
}
},
"store": {
"default": {
"path": "src/stores",
"withTest": true,
"useEntityAdapter": false
},
"custom": {
"customTemplates": {
"store": "templates/stores/TemplateName.store.js",
"test": "templates/stores/TemplateName.store.test.js"
},
"path": "src/stores/custom",
"withTest": true,
"useEntityAdapter": true
}
}
}