Merge pull request #284 from orbitdb/fix/distribution-directories

Clean up npm package and git repo directory structures
This commit is contained in:
Haad 2017-12-13 16:27:51 +01:00 committed by GitHub
commit 86849c26bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 4 deletions

14
.gitignore vendored
View File

@ -1,8 +1,14 @@
*sublime*
# Make sure to exclude test data directory
orbitdb/
# Don't distribute the dependencies
node_modules/
# Don't track examples' dependencies (libs) in git
examples/browser/browser-webpack-example/bundle.js
examples/browser/browser-webpack-example/*.map
examples/browser/lib
dist/*.map
dist/orbitdb.js
orbitdb/
# Don't track builds in git
# Distribution builds are available via npm
dist/

16
.npmignore Normal file
View File

@ -0,0 +1,16 @@
# Make sure to exclude test data directory
orbitdb/
# Don't distribute the dependencies
node_modules/
# Don't distribute examples with the module
# See examples at https://github.com/orbitdb/orbit-db
examples/
# Don't distribute source maps
dist/*.map
# Don't distribute screenshot
# See examples at https://github.com/orbitdb/orbit-db
screenshots/