Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

fix: browser bundle #39

Merged
merged 2 commits into from
Jan 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This is a copy of `.gitignore` without ignoring `dist`, please keep it in sync

yarn.lock
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I first wondered why there's so many things ignored that are never part of this repo. Then I saw that it's a copy of the .gitignore file. I then understood how it helps with the browser bundles.

Could you please for npm noobs like me add a comment at the top along the lines of "This is a copy of .gitignore without ignoring dist, please keep it in sync".

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