You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"files": ["src","dist"]// to only include the code}
I also looked up some discussion on tests and documentation and whether to exclude them. The consensus seems to lean towards being as lean as possible.
After reading the docs on files and npmignore, I think it’d be better for us to have a whitelist of files to publish rather than a blacklist of files to exclude.
I believe the following files & folders can be removed when a plugin is published to npm:
.editorconfig
.jshintrc
.npmignore
.travis.yml
build.js
documentjs.json
test
Here’s the file where these can be added: https://github.com/donejs/generator-donejs/blob/a50d2851bf788ec11473b49e9c8b46a1eff4bd82/plugin/templates/static/.npmignore
The text was updated successfully, but these errors were encountered: