From f9c7255d0b5e79af1dd6ee46b533b1d116c8f2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Wed, 13 Jul 2016 23:57:56 -0400 Subject: [PATCH] Ignore unnecessary files at release time - `client/views/` contains templates whose built version is provided with each releases - `.gitignore` doesn't appear in our releases, but I'm not sure if this comes from npm itself or Travis CI publishing for us. Adding it here for completeness. - Surprisingly, `.npmignore` itself is not ignored... - All other files and directories are for development purposes only --- .gitignore | 2 -- .npmignore | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8b996fac..082fcf7b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -# Make sure to keep this file and .npmignore in sync - node_modules/ npm-debug.log diff --git a/.npmignore b/.npmignore index d8640d6c..6115c65f 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,19 @@ -# This should match the .gitignore file without the generated assets +# This file must not contain generated assets listed in .gitignore. # npm-debug.log and node_modules/ are ignored by default. # See https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package +client/views/ coverage/ +scripts/ +test/ +.editorconfig +.eslintignore +.eslintrc.yml +.gitattributes +.gitignore +.istanbul.yml +.npmignore +.stylelintrc +.travis.yml +appveyor.yml +Gruntfile.js