Skip to content
New issue

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

npm-ignore non-essential files #125

Closed
necolas opened this issue Nov 17, 2014 · 5 comments
Closed

npm-ignore non-essential files #125

necolas opened this issue Nov 17, 2014 · 5 comments
Milestone

Comments

@necolas
Copy link

necolas commented Nov 17, 2014

npm-install currently installs the contents of the entire repo.

Updated version of EE3 that does the same: primus/eventemitter3#15 (comment)

@spoike
Copy link
Member

spoike commented Nov 18, 2014

Was unaware of npm ignore. Looks like something to consider for next release.

@necolas
Copy link
Author

necolas commented Nov 18, 2014

I tend to use an alternative approach – the files field of package.json – which is simpler (opt-in to the files you publish) if you have a predictable project structure: https://www.npmjs.org/doc/files/package.json.html#files

Either way works. Thanks

@dashed
Copy link
Contributor

dashed commented Nov 20, 2014

+1.

@spoike spoike added this to the 0.2.1 milestone Nov 20, 2014
@spoike spoike closed this as completed in fb39304 Dec 7, 2014
@ooflorent
Copy link

Why was this issue closed?

@ooflorent
Copy link

Nevermind. I have not seen .npmignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants