Skip to content

Conversation

@eugenelim
Copy link

Remove test/ folder from being published with the npm package

Remove test/ folder from being published with the npm package
@dougwilson
Copy link
Contributor

Thanks! But this is unnecessary. We use the files directive in package.json to be a whitelist instead of .npmignore which is a blacklist. We don't publish the test/ folder in our npm tarball, as you can see by examining the contents of our latest tarball:

$ curl -s $(npm info send dist.tarball) | tar -tzf -
package/package.json
package/HISTORY.md
package/index.js
package/LICENSE
package/README.md

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants