We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use files property in package.json to whitelist the necessary files.
files
package.json
Use npm publish --dry-run - to preview the files before publishing.
npm publish --dry-run
https://stackoverflow.com/questions/40795836/how-do-you-use-the-files-and-directories-properties-in-package-json
https://medium.com/@nodejs/publishing-npm-packages-c4c615a0fc6b
The text was updated successfully, but these errors were encountered:
perf: Excluded unnecessary files from npm publish
80f8e06
*abc closes #13
perf: Exclude unnecessary files from npm publish
c20a2ec
* Included only necessary files through "files" property in package.json * Moved config/*, lib/* and bin/* files into src directory closes #13
caf47de
m-sureshraj
Successfully merging a pull request may close this issue.
Use
files
property inpackage.json
to whitelist the necessary files.Use
npm publish --dry-run
- to preview the files before publishing.https://stackoverflow.com/questions/40795836/how-do-you-use-the-files-and-directories-properties-in-package-json
https://medium.com/@nodejs/publishing-npm-packages-c4c615a0fc6b
The text was updated successfully, but these errors were encountered: