Skip to content
cli tool to generate .npmignore with global ~/.gitignore
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
.gitignore
README.md
npmignore
package.json
yarn.lock

README.md

npmignore-aggregate

A cli tool to generate .npmignore aggregating {global,local} .gitignore and npmignore. To avoid accidentally publishing {unnecessary,credential} files, such as yarn.error, .envrc or others, that declared in .gitignore but not in .npmignore

Usage

Init (shorthand of deleting .npmignore and adding .npmignore to .gitignore)

$ npmignore-aggregate --init

Run

$ npmignore-aggregate

LICENCE

MIT

You can’t perform that action at this time.