summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-09-29 13:17:24 +0200
committerSamy Pesse <samypesse@gmail.com>2016-09-29 13:17:24 +0200
commit6f98ee18468e88af01a066eb6e203e4d6ef0a52c (patch)
tree5abdf72da4a966acba6252e6569df232919bef7e /packages/gitbook-plugin
parent42d53ec0323956c1536666793823f41ee874d2ce (diff)
downloadgitbook-6f98ee18468e88af01a066eb6e203e4d6ef0a52c.zip
gitbook-6f98ee18468e88af01a066eb6e203e4d6ef0a52c.tar.gz
gitbook-6f98ee18468e88af01a066eb6e203e4d6ef0a52c.tar.bz2
Add npmignore and gitignore to plugin template
Diffstat (limited to 'packages/gitbook-plugin')
-rw-r--r--packages/gitbook-plugin/template/.gitignore31
-rw-r--r--packages/gitbook-plugin/template/.npmignore2
2 files changed, 33 insertions, 0 deletions
diff --git a/packages/gitbook-plugin/template/.gitignore b/packages/gitbook-plugin/template/.gitignore
new file mode 100644
index 0000000..7c6f0eb
--- /dev/null
+++ b/packages/gitbook-plugin/template/.gitignore
@@ -0,0 +1,31 @@
+# Logs
+logs
+*.log
+
+# 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
+
+# Compiled binary addons (http://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directory
+# Deployed apps should consider commenting this line out:
+# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
+node_modules
+
+# vim swapfile
+*.swp
+
+# Plugin assets
+_assets
diff --git a/packages/gitbook-plugin/template/.npmignore b/packages/gitbook-plugin/template/.npmignore
new file mode 100644
index 0000000..7bc36b7
--- /dev/null
+++ b/packages/gitbook-plugin/template/.npmignore
@@ -0,0 +1,2 @@
+# Publish assets on NPM
+!_assets