UNPKG

dependency-cruiser-fork

Version:

Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.

142 lines (141 loc) 3.71 kB
{ "graph": { "ordering": "out", "rankdir": "LR", "splines": "true", "overlap": "false", "nodesep": "0.16", "ranksep": "0.18", "fontname": "Helvetica-bold", "fontsize": "9", "style": "rounded,bold,filled", "fillcolor": "#ffffff", "compound": "true" }, "node": { "shape": "box", "style": "rounded, filled", "height": "0.2", "color": "black", "fillcolor": "#ffffcc", "fontcolor": "black", "fontname": "Helvetica", "fontsize": 9 }, "edge": { "arrowhead": "normal", "arrowsize": "0.6", "penwidth": "2.0", "color": "#00000033", "fontname": "Helvetica", "fontsize": "9" }, "modules": [ { "criteria": { "consolidated": true }, "attributes": { "shape": "box3d" } }, { "criteria": { "rules[0].severity": "error" }, "attributes": { "fontcolor": "red", "color": "red" } }, { "criteria": { "rules[0].severity": "warn" }, "attributes": { "fontcolor": "orange", "color": "orange" } }, { "criteria": { "rules[0].severity": "info" }, "attributes": { "fontcolor": "blue", "color": "blue" } }, { "criteria": { "valid": false }, "attributes": { "fontcolor": "red", "color": "red" } }, { "criteria": { "couldNotResolve": true }, "attributes": { "color": "red", "fontcolor": "red" } }, { "criteria": { "coreModule": true }, "attributes": { "color": "grey", "fontcolor": "grey" } }, { "criteria": { "source": "node_modules" }, "attributes": { "fillcolor": "#c40b0a1a", "fontcolor": "#c40b0a" } }, { "criteria": { "matchesDoNotFollow": true }, "attributes": { "shape": "folder" } }, { "criteria": { "orphan": true }, "attributes": { "fillcolor": "#ccffcc" } }, { "criteria": { "source": "\\.json$" }, "attributes": { "fillcolor": "#ffee44" } }, { "criteria": { "source": "\\.jsx$" }, "attributes": { "fillcolor": "#ffff77" } }, { "criteria": { "source": "\\.vue$" }, "attributes": { "fillcolor": "#41f083" } }, { "criteria": { "source": "\\.ts$" }, "attributes": { "fillcolor": "#ddfeff" } }, { "criteria": { "source": "\\.tsx$" }, "attributes": { "fillcolor": "#bbfeff" } }, { "criteria": { "source": "(\\.coffee|\\.litcoffee|\\.coffee\\.md)$" }, "attributes": { "fillcolor": "#eeccaa" } }, { "criteria": { "source": "(\\.csx|\\.cjsx)$" }, "attributes": { "fillcolor": "#eebb77" } }, { "criteria": { "source": "\\.ls$/g" }, "attributes": { "fillcolor": "pink" } } ], "dependencies": [ { "criteria": { "rules[0].severity": "error" }, "attributes": { "fontcolor": "red", "color": "red" } }, { "criteria": { "rules[0].severity": "warn" }, "attributes": { "fontcolor": "orange", "color": "orange" } }, { "criteria": { "rules[0].severity": "info" }, "attributes": { "fontcolor": "blue", "color": "blue" } }, { "criteria": { "valid": false }, "attributes": { "fontcolor": "red", "color": "red" } }, { "criteria": { "circular": true }, "attributes": { "arrowhead": "normalnoneodot" } }, { "criteria": { "preCompilationOnly": true }, "attributes": { "arrowhead": "onormal", "penwidth": "1.0" } }, { "criteria": { "coreModule": true }, "attributes": { "style": "dashed", "penwidth": "1.0" } }, { "criteria": { "dependencyTypes[0]": "npm" }, "attributes": { "style": "dashed", "penwidth": "1.0" } } ] }