git ssb

16+

Dominic / patchbay



Tree: e44b7eb8a3b234c36379114fa5b542fd77bc46f6

Files: e44b7eb8a3b234c36379114fa5b542fd77bc46f6 / exports.js

1234 bytesRaw
1const bulk = require('bulk-require')
2const patchcore = require('patchcore')
3delete patchcore.patchcore.message.html.action.reply
4// prune an action we don't want
5
6const configModule = require('./config')
7
8const 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
27const 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
37module.exports = {
38 configModule,
39 plugins,
40 patchbay,
41 patchcore
42}
43

Built with git-ssb-web