From d7d078fbca36ca8228e78d1a7364cc91abaefee9 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Fri, 18 Jan 2019 12:02:36 +0000 Subject: [PATCH] fix: browser bundle (#39) The dist directory was being ignored on publish to npm. License: MIT Signed-off-by: Alan Shaw --- .npmignore | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..c9c4c05 --- /dev/null +++ b/.npmignore @@ -0,0 +1,46 @@ +# This is a copy of `.gitignore` without ignoring `dist`, please keep it in sync + +yarn.lock +docs +**/node_modules/ +**/*.log +test/repo-tests* +**/bundle.js + +# Logs +logs +*.log + +coverage + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +build + +# Dependency directory +# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git +node_modules + +lib + +test/test-data/go-ipfs-repo/LOCK +test/test-data/go-ipfs-repo/LOG +test/test-data/go-ipfs-repo/LOG.old + +# while testing npm5 +package-lock.json