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

.gitattributes #40

Closed
alexantr opened this issue Jun 2, 2017 · 2 comments
Closed

.gitattributes #40

alexantr opened this issue Jun 2, 2017 · 2 comments

Comments

@alexantr
Copy link

alexantr commented Jun 2, 2017

I'm not sure if npm considers .gitattributes but this file will be usefull to ignore some files and folders unnecessary in npm package.

For example:

/.gitattributes       export-ignore
/.gitignore           export-ignore
/.npmignore           export-ignore
/_includes            export-ignore
/assets               export-ignore
/bin                  export-ignore
/_config.yml          export-ignore
/Gemfile              export-ignore
/Gemfile.lock         export-ignore
/index.html           export-ignore
/ISSUE_TEMPLATE.md    export-ignore
/style.css            export-ignore
/svgo-config.yml      export-ignore
@alexantr
Copy link
Author

alexantr commented Jun 2, 2017

Another good reason to use .gitattributes: build-zip.sh not needed anymore, bcs github will create archives for release only with files not ignored in .gitattributes.

@colebemis
Copy link
Member

Thanks! Didn't know about .gitattributes. I'll look into this.

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

2 participants