From 2f0750bfe2e48c72296543d50de519310cfda70c Mon Sep 17 00:00:00 2001 From: smhg Date: Sat, 8 Dec 2018 12:02:13 +0100 Subject: [PATCH] exclude files from npm and git --- .gitignore | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- .npmignore | 4 +++- 2 files changed, 62 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index facf85e..ad46b30 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,61 @@ -.DS_Store +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' *.tgz -npm-debug.log + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# next.js build output +.next diff --git a/.npmignore b/.npmignore index d5ec1fc..4b6abc5 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,5 @@ -/src/ /test/ /bower.json +/version-bower.json +/.eslintrc.json +/.babelrc