Remove unused deps
See original GitHub issueI ran depcheck
on this repository, and got the following result:
15:16 ~/src/nock (master) 🐕 depcheck
Unused devDependencies
* coveralls
* eslint
* glob
* istanbul
* markdown-toc
* nyc
* semantic-release
Most of these are false positives, as depcheck doesn’t check scripts, except for two, I think: istanbul
is only referenced in the package.json, as far as I can tell, and glob
. I think these both can probably be removed. Can someone check that they aren’t used, remove them from the package.json
, and submit a PR to close this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to Remove Unused Dependencies in React - Pluralsight
Uninstalling Packages Using npm uninstall · The -S or --save flag indicates that the package will be removed from your main dependencies. ·...
Read more >remove unused dependencies in React - npm - Stack Overflow
In general, you can uninstall any npm package or dependency by running the following command: · used yarn-check rather than NPM-CHECK as yarn...
Read more >How to remove unused deps from mix.lock - Today I Learned
When you remove a dep from the mix.exs file it will remain in the mix.lock file. Unused deps need to be “unlocked" in...
Read more >Optimization: Updating deps, removing unused imports, files ...
Learn how to update your dependencies, remove unused imports,files and unused deps to optimize your project for a better project structure ...
Read more >TIL: How to remove unused dependencies from mix.lock
Removal of unused dependencies ... This is useful, but it will only delete files in the deps directory. The mix.lock entry itself will...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
From what I can see instanbul and glob is nowhere to be found (except from package.json).
I noticed however that we’re using request and request-promise. Maybe another issue could created for converting from request to request promise in the future?
I’ll submit a pr shortly with removed devdep.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue and add a reference to this one if it’s related. Thank you!