-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
53 lines (40 loc) · 865 Bytes
/
package.js
File metadata and controls
53 lines (40 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Package.describe({
summary: 'Share posts on your communities twitter account',
version: '0.0.2',
name: 'telescope-twitter'
});
Package.onUse(function (api) {
Npm.depends({
'twit': '1.1.20'
});
api.use([
'tap:i18n',
'telescope-base',
'telescope-lib',
'underscore',
'telescope-i18n',
'templating'
]);
// i18n config (must come first)
api.add_files([
'package-tap.i18n'
], ['client', 'server']);
api.add_files([
'lib/posts_fields.js'
], ['client', 'server']);
api.addFiles([
'lib/server/start.js'
], ['server']);
api.addFiles([
'lib/client/post_tweet.html',
'lib/client/post_tweet.js'
], ['client']);
// i18n languages (must come last)
api.add_files([
'i18n/en.i18n.json'
], ['client', 'server']);
api.export([
'TwitterAPI',
'addToPostSchema'
]);
});