commit d1690bda81514b7ec4804552b0fe4ab546bceb5d Author: Julien Fontanet Date: Fri May 27 17:00:49 2016 +0200 Initial commit diff --git a/packages/xo-server-test-plugin/index.js b/packages/xo-server-test-plugin/index.js new file mode 100644 index 000000000..ded94014e --- /dev/null +++ b/packages/xo-server-test-plugin/index.js @@ -0,0 +1,23 @@ +exports.default = function (opts) { + return { + configure: function (configuration) { + console.log('stub configured', configuration) + }, + load: function () { + console.log('stub loaded') + }, + unload: function () { + console.log('stub unloaded') + } + } +} + +exports.configurationSchema = { + type: 'object', + properties: { + foo: { + type: 'string' + } + }, + required: ['foo'] +} diff --git a/packages/xo-server-test-plugin/package.json b/packages/xo-server-test-plugin/package.json new file mode 100644 index 000000000..70f531bc4 --- /dev/null +++ b/packages/xo-server-test-plugin/package.json @@ -0,0 +1,5 @@ +{ + "private": true, + "name": "xo-server-test-plugin", + "version": "0.0.0" +}