-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.js
49 lines (48 loc) · 1012 Bytes
/
test.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
48
49
var treeify = require('treeify');
console.log(treeify.asTree({
'README.md': null,
'client': {
api: { 'sample.js' : null },
assets: {
'images': { 'icon.png': null }
},
components: {
'big-module': {
'BigModule.jsx': null,
'BigModuleContainer.jsx': null,
'submodule-one': {
'SubmoduleOne.jsx': null,
'SubmoduleOneContainer.jsx': null,
},
},
'common': {
'SmallCommon.jsx': null,
'big-common': {
'BigCommon.jsx': null,
'BigCommonContainer.jsx': null,
}
},
'small-module': {
'SmallModule.jsx': null,
'SmallModuleContainer.jsx': null,
}
},
},
config: {
'config.json': null,
'webpack.config.js': null,
},
'redux': {
'createStore.js': null,
'ducks': {
'sample.js': null,
},
'middlewares': {
'sentryLogging.js': null,
}
},
'app.js': null,
'translations': {
'en.json': null,
}
}));