Use madge to generate dependencies for frontend project
project: https://www.npmjs.com/package/madge config file name: .madgerc content in madgerc: { “tsConfig”: “./tsconfig.json”, “fileExtensions”: [“ts”], “baseUrl”: “./”, “paths”: { “@/“: [“./app/“] } } command: madge ./app –ts-config ./tsconfig.json –json > dependencies.json content in dependencies will show the dependencies. however, the disappoint thing is no transitive dependencies (indirect dependencies) feature