Files: bf1c0487e7a3cc6ff42c236b70370491e557e10f / exports.js
1177 bytesRaw
1 | const bulk = require('bulk-require') |
2 | |
3 | const patchcore = require('patchcore') |
4 | delete patchcore.patchcore.message.html.action.reply |
5 | // prune an action we don't want |
6 | |
7 | const patchbay = { |
8 | patchbay: { |
9 | about: bulk(__dirname, [ 'about/**/*.js' ]), |
10 | app: bulk(__dirname, [ 'app/**/*.js' ]), |
11 | blob: bulk(__dirname, [ 'blob/**/*.js' ]), |
12 | channel: bulk(__dirname, [ 'channel/**/*.js' ]), |
13 | contact: bulk(__dirname, [ 'contact/**/*.js' ]), |
14 | message: bulk(__dirname, [ 'message/**/*.js' ]), |
15 | router: bulk(__dirname, [ 'router/**/*.js' ]), |
16 | styles: bulk(__dirname, [ 'styles/**/*.js' ]), |
17 | sbot: bulk(__dirname, [ 'sbot/**/*.js' ]), |
18 | |
19 | suggestions: require('patch-suggest'), |
20 | settings: require('patch-settings'), |
21 | drafts: require('patch-drafts'), |
22 | history: require('patch-history') |
23 | } |
24 | } |
25 | |
26 | const plugins = { |
27 | scry: require('patchbay-scry'), |
28 | darkCrystal: require('patchbay-dark-crystal'), |
29 | poll: require('patchbay-poll'), |
30 | inbox: require('patch-inbox'), // TODO needs work |
31 | chess: require('ssb-chess-mithril'), |
32 | book: require('patchbay-book'), |
33 | gatherings: require('patchbay-gatherings') |
34 | } |
35 | |
36 | module.exports = { |
37 | plugins, |
38 | patchbay, |
39 | patchcore |
40 | } |
41 |
Built with git-ssb-web