From de234944090dcb2356db1185e3fba7935dc6ee11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Mon, 22 Feb 2016 10:20:43 +0100 Subject: [PATCH] Change gitignore to commit tests plugins --- .gitignore | 2 +- .../gitbook-plugin-test-config/index.js | 1 + .../gitbook-plugin-test-config/package.json | 21 +++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 test/node_modules/gitbook-plugin-test-config/index.js create mode 100644 test/node_modules/gitbook-plugin-test-config/package.json diff --git a/.gitignore b/.gitignore index a7a8f664e..259b0a6e4 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 000000000..f053ebf79 --- /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 000000000..74bb95357 --- /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