Skip to content

Instantly share code, notes, and snippets.

@davidgilbertson
Created November 22, 2017 21:06
Show Gist options
  • Save davidgilbertson/5ae849168234046578612dfa919d8453 to your computer and use it in GitHub Desktop.
Save davidgilbertson/5ae849168234046578612dfa919d8453 to your computer and use it in GitHub Desktop.
npx is installed with npm 5.2. Here are some useful commands
# list lines of code by file type:
`npx sloc --format cli-table src/`
# print out update/version info about your project's packages
`npx npm-check`
# display a breakdown of package contents by size (for a CRA page)
`npx source-map-explorer build/static/js/main.*`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment