From 25a3a4c4f43736666d8916c265f68695cc50ce3d Mon Sep 17 00:00:00 2001 From: "Darius I. Karel" Date: Wed, 4 Jan 2017 01:53:01 +0700 Subject: [PATCH] ignore unneeded files during publish --- .gitignore | 4 +++- .npmignore | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .npmignore diff --git a/.gitignore b/.gitignore index 763d3c28c..54ab88f89 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,8 @@ .LSOverride # Icon must end with two \r -Icon +Icon + # Thumbnails ._* @@ -30,6 +31,7 @@ Temporary Items logs *.log npm-debug.log* +dist # Runtime data pids diff --git a/.npmignore b/.npmignore new file mode 100644 index 000000000..26a07ffd5 --- /dev/null +++ b/.npmignore @@ -0,0 +1,16 @@ +# Source file +Components +Utils +index.js + +# Dotfiles +.babelrc +.eslintignore +.eslintrc.json +.gitattributes +_config.yml + +# Documents +CHANGELOG.md +CONTRIBUTING.md +ISSUE_TEMPLATE.txt \ No newline at end of file