summaryrefslogtreecommitdiffstats
path: root/test/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'test/plugins')
-rw-r--r--test/plugins/config/index.js1
-rw-r--r--test/plugins/config/package.json21
2 files changed, 22 insertions, 0 deletions
diff --git a/test/plugins/config/index.js b/test/plugins/config/index.js
new file mode 100644
index 0000000..f053ebf
--- /dev/null
+++ b/test/plugins/config/index.js
@@ -0,0 +1 @@
+module.exports = {};
diff --git a/test/plugins/config/package.json b/test/plugins/config/package.json
new file mode 100644
index 0000000..03ef744
--- /dev/null
+++ b/test/plugins/config/package.json
@@ -0,0 +1,21 @@
+{
+ "name": "gitbook-plugin-testconfig",
+ "description": "Test plugin configuration",
+ "main": "index.js",
+ "version": "0.0.1",
+ "engines": {
+ "gitbook": "*"
+ },
+ "gitbook": {
+ "properties": {
+ "hello": {
+ "type": "string",
+ "default": "world"
+ },
+ "testRequired": {
+ "type": "number",
+ "required": true
+ }
+ }
+ }
+} \ No newline at end of file