Skip to content

Commit

Permalink
Include .git/ into .npmignore (fix #353)
Browse files Browse the repository at this point in the history
- When .npmignore file is present, the content of the .gitignore file is
  ignored.
- So also include more files and folders in .npmignore file.
  • Loading branch information
ibc committed Apr 24, 2019
1 parent 58f301a commit e109ba6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
node_modules
node_modules/
.DS_Store
.lock-*
build
build/*
build/
builderror.log
npm-debug.log
test/autobahn/reports*/*
Expand Down
7 changes: 6 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
.npmignore
.gitignore
.git/
.DS_Store
.lock-*
node_modules/
docs/
example/
build/
builderror.log
npm-debug.log
test/
node_modules/

0 comments on commit e109ba6

Please sign in to comment.