summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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