diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-10-13 15:14:26 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-10-13 15:14:26 +0200 |
commit | 8ba18cd587de8f073c9818acbdeaeaafe9a478c1 (patch) | |
tree | e83f6a9b6e4a37d2058d11653db73123a799aef0 /test/plugins | |
parent | 4ae5b2e05001df9bdf8c5b64f8a82725e14d6414 (diff) | |
parent | 54c12fea89198ad6582529cf7bfd6c7ff6f92ed2 (diff) | |
download | gitbook-8ba18cd587de8f073c9818acbdeaeaafe9a478c1.zip gitbook-8ba18cd587de8f073c9818acbdeaeaafe9a478c1.tar.gz gitbook-8ba18cd587de8f073c9818acbdeaeaafe9a478c1.tar.bz2 |
Merge pull request #979 from GitbookIO/feature/plugins_config
Improvements for plugin configurations
Diffstat (limited to 'test/plugins')
-rw-r--r-- | test/plugins/config/index.js | 1 | ||||
-rw-r--r-- | test/plugins/config/package.json | 21 |
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 |