devDeps: Install madge
This installs [madge](https://www.npmjs.com/package/madge), a tool for finding circular dependencies. A config file is also added to ignore type-only imports.
This commit is contained in:
parent
14ec62ae8f
commit
c1edc53c2f
4 changed files with 1127 additions and 6 deletions
|
|
@ -61,6 +61,7 @@
|
|||
"history": "5.3.0",
|
||||
"identity-obj-proxy": "3.0.0",
|
||||
"jsdom": "25.0.1",
|
||||
"madge": "8.0.0",
|
||||
"moment": "2.30.1",
|
||||
"msw": "2.4.9",
|
||||
"npm-run-all": "4.1.5",
|
||||
|
|
@ -96,7 +97,9 @@
|
|||
"api:generate": "bash api/codegen.sh",
|
||||
"api:pull": "bash api/pull.sh",
|
||||
"verify": "npm-run-all build lint test",
|
||||
"postinstall": "ts-patch install"
|
||||
"postinstall": "ts-patch install",
|
||||
"circular": "madge --circular ./src --extensions js,ts,tsx",
|
||||
"circular:graph": "madge --circular ./src --extensions js,ts,tsx -i deps.png"
|
||||
},
|
||||
"insights": {
|
||||
"appname": "image-builder"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue