Created
March 27, 2022 20:30
-
-
Save israelss/fb462071eb6dff7f9c8f4181cde35ce9 to your computer and use it in GitHub Desktop.
Find out what will be published to npm in a package without actually publishing it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if you want to find out what files npm will publish into the tarball without actually publishing, you can use this little one-liner: | |
npm pack && tar -xvzf *.tgz && rm -rf package *.tgz | |
Found @ https://medium.com/@jdxcode/for-the-love-of-god-dont-use-npmignore-f93c08909d8d in 2022-03-27 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment