-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.madgerc
30 lines (30 loc) · 1.29 KB
/
.madgerc
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
// See: https://github.com/pahen/madge#configuration
{
"fileExtensions": ["js"],
// See:
// https://github.com/dependents/node-dependency-tree#usage
// requireConfig: 'path/to/requirejs/config', // optional
// webpackConfig: 'path/to/webpack/config', // optional
// https://github.com/dependents/node-filing-cabinet#usage
// webpackConfig: (optional) Webpack config for resolving aliased JavaScript modules. If exporting multiple configurations, the first configuration is used.
//requireConfig String null RequireJS config for resolving aliased modules
//webpackConfig String null Webpack config for resolving aliased modules
// See:
// https://github.com/dependents/node-dependency-tree#options
// https://github.com/dependents/node-precinct#usage
"detectiveOptions": {
"es6": {
"mixedImports": true,
"skipTypeImports": true
},
"ts": {
"mixedImports": true,
"skipTypeImports": true
}
}
// layout String dot Layout to use in the graph
// nodeColor String #c6c5fe Default node color to use in the graph
// noDependencyColor String #cfffac Color to use for nodes with no dependencies
// cyclicNodeColor String #ff6c60 Color to use for circular dependencies
// edgeColor String #757575 Edge color to use in the graph
}