git ssb

16+

Dominic / patchbay



Tree: f1a3167d5f05a07ed11e32a6e3bf3e8c310e9994

Files: f1a3167d5f05a07ed11e32a6e3bf3e8c310e9994 / exports.js

1279 bytesRaw
1const bulk = require('bulk-require')
2
3const patchcore = require('patchcore')
4delete patchcore.patchcore.message.html.action.reply
5// prune an action we don't want
6
7const 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 config: require('./config'), // shouldn't be in here ?
20 contextMenu: require('patch-context'),
21 suggestions: require('patch-suggest'),
22 settings: require('patch-settings'),
23 drafts: require('patch-drafts'),
24 history: require('patch-history')
25 }
26}
27
28const plugins = {
29 scry: require('patchbay-scry'),
30 darkCrystal: require('patchbay-dark-crystal'),
31 poll: require('patchbay-poll'),
32 inbox: require('patch-inbox'), // TODO needs work
33 chess: require('ssb-chess-mithril'),
34 book: require('patchbay-book'),
35 gatherings: require('patchbay-gatherings')
36}
37
38module.exports = {
39 plugins,
40 patchbay,
41 patchcore
42}
43

Built with git-ssb-web