add another dummy plugin for testing

This commit is contained in:
Jiiks 2018-01-20 19:48:27 +02:00
parent b3f5f46e74
commit 497e989e76
3 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,12 @@
{
"info": {
"name": "Example Plugin 2",
"authors": ["Jiiks"],
"version": 1.0,
"description": "Example Plugin 2 Description"
},
"main": "index.js",
"defaultConfig": {
"foo": "bar"
}
}

View File

@ -0,0 +1,18 @@
module.exports = (Plugin, Api, Vendor) => {
const { $, moment } = Vendor;
const { Events } = Api;
const test = 'Testing';
return class extends Plugin {
test() {
return test;
}
onStart() {
console.log('On Start!');
}
}
}

View File

@ -2,7 +2,8 @@
"info": {
"name": "Example Plugin",
"authors": ["Jiiks"],
"version": 1.0
"version": 1.0,
"description": "Example Plugin Description"
},
"main": "index.js",
"defaultConfig": {