Npm cheat sheet
Links to know more about fields used in package.json
- version
- bugs
- license
- bin
- script
- dependecies
- peerdependencies
- peerDependenciesMeta
- bundleDependecies
- overrides
- If there is a .gitignore or .npmignore file, then ignored files in that and all child directories will be excluded from the package. If both files exist, then the .gitignore is ignored, and only the .npmignore is used.
.npmignore files follow the same pattern rules as .gitignore files