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