Skip to content

Conversation

@ryanseddon
Copy link
Contributor

@ryanseddon ryanseddon commented Nov 13, 2018

Description

🏡 Some house cleaning of unused dev dependencies:

  • react-svg-inline
  • inline-svg-react

Packages potentially unused but still not sure what there purpose might be:

  • regenerator-runtime
  • html-webpack-plugin

I used a combination of npx npm-check -d | grep NOTUSED and:

grep \
  --exclude-dir=.template \
  --exclude-dir=node_modules \
  --include=\*.js \
  --include=\*.json \
  --include=\*.sh \
  --exclude=\package.json \
  --exclude=\package-lock.json \
  --exclude=\*.spec.js \
  -rnw './' \
  -e ‘[package-name]’

To search if a package is used npm-check doesn't quite search as extensively as the above command but gives us an idea of what might not be used.

@ryanseddon ryanseddon requested a review from jzempel November 13, 2018 06:16
@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.797% when pulling a377565 on ryan/remove_unused_dev_deps into c2563cf on master.

@ryanseddon ryanseddon merged commit fc1d875 into master Nov 19, 2018
@ryanseddon ryanseddon deleted the ryan/remove_unused_dev_deps branch November 19, 2018 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants