Clean up npm package and git repo directory structures

This commit is contained in:
haad 2017-12-13 16:24:59 +01:00
parent a9d2ef232f
commit ffc1c83293
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/