Closed renaudfv closed 2 years ago
https://github.com/smeijer/unimported
summary unimported v1.22.0 (node) ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── entry file : src/index.js unresolved imports : 0 unused dependencies : 7 unimported files : 2 ─────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ 7 unused dependencies ─────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 │ @mui/icons-material 2 │ @testing-library/jest-dom 3 │ @testing-library/react 4 │ @testing-library/user-event 5 │ express 6 │ react-scripts 7 │ webrtc-adapter ─────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ─────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ 2 unimported files ─────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 │ src/adapter.js 2 │ src/setupTests.js ─────┴─────────────────────
npx will complain about react-scripts since it's only used in the package.json file through the scripts section. We have to leave it otherwise we can't start or build the app.
https://github.com/smeijer/unimported