From 24e34ad32a63668711842c1db9df7d1e590a4758 Mon Sep 17 00:00:00 2001 From: Jason McNeal Date: Tue, 14 Aug 2018 16:59:17 -0600 Subject: [PATCH] Ignore dist folder for repo but not npm --- .gitignore | 2 ++ .npmignore | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index cdea9a9..1e70089 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ node_modules/ .cache/ .vscode/ yarn-error.log +dist/ +react-step-wizard-*.tgz \ No newline at end of file diff --git a/.npmignore b/.npmignore index 5645c29..c90c864 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,7 @@ +# Publish dist to npm but not to repo +!dist/ + +# Ignore List .babelrc .cache/ .eslintrc @@ -10,3 +14,5 @@ example/ src/ webpack.config.js yarn.lock +yarn*.log +react-step-wizard-*.tgz \ No newline at end of file