summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-22 10:20:43 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-22 10:20:43 +0100
commitde234944090dcb2356db1185e3fba7935dc6ee11 (patch)
treecaea58df6961e98c6e9cd59b5ccfef57586936c8
parentb23d3a9f37a225eb418967a19c4ddddbf8a76c63 (diff)
downloadgitbook-de234944090dcb2356db1185e3fba7935dc6ee11.zip
gitbook-de234944090dcb2356db1185e3fba7935dc6ee11.tar.gz
gitbook-de234944090dcb2356db1185e3fba7935dc6ee11.tar.bz2
Change gitignore to commit tests plugins
-rw-r--r--.gitignore2
-rw-r--r--test/node_modules/gitbook-plugin-test-config/index.js1
-rw-r--r--test/node_modules/gitbook-plugin-test-config/package.json21
3 files changed, 23 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index a7a8f66..259b0a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,7 +22,7 @@ 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
+/node_modules
# vim swapfile
*.swp
diff --git a/test/node_modules/gitbook-plugin-test-config/index.js b/test/node_modules/gitbook-plugin-test-config/index.js
new file mode 100644
index 0000000..f053ebf
--- /dev/null
+++ b/test/node_modules/gitbook-plugin-test-config/index.js
@@ -0,0 +1 @@
+module.exports = {};
diff --git a/test/node_modules/gitbook-plugin-test-config/package.json b/test/node_modules/gitbook-plugin-test-config/package.json
new file mode 100644
index 0000000..74bb953
--- /dev/null
+++ b/test/node_modules/gitbook-plugin-test-config/package.json
@@ -0,0 +1,21 @@
+{
+ "name": "gitbook-plugin-test-config",
+ "version": "1.0.0",
+ "engines": {
+ "gitbook": "*"
+ },
+ "gitbook": {
+ "properties": {
+ "myProperty": {
+ "type": "string",
+ "required": true,
+ "title": "This is a required property"
+ },
+ "myDefaultProperty": {
+ "type": "string",
+ "default": "hello",
+ "title": "This is a required property"
+ }
+ }
+ }
+} \ No newline at end of file