-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.js
60 lines (46 loc) · 1.55 KB
/
package.js
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
54
55
56
Package.describe({
name: 'youiest:unionize',
version: '0.0.4',
// Brief, one-line summary of the package.
summary: ' for reactive network triggers with a simple ui',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/youiest/youiest-unionize.git',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
// add grounddb here
Package.on_use(function (api) {
api.versionsFrom('1.0.3.1');
api.use(['matb33:[email protected]','coffeescript'], ['client', 'server']);
// like Document W will be an extended coll..
api.export('Unionize');
api.add_files([
'lib.coffee'
], ['client','server']);
api.add_files([
'client.coffee'
], 'client');
api.add_files([
'server.coffee', 'publish.coffee'
], 'server');
});
Package.on_test(function (api) {
api.versionsFrom('1.0.3.1');
api.use(['underscore','ground:[email protected]','aldeed:console-me','matb33:[email protected]','tracker', 'tinytest', 'test-helpers', 'coffeescript', 'insecure', 'accounts-base', 'accounts-password', 'underscore', 'random', 'pedrohenriquerls:reactjs'], ['client', 'server']);
api.add_files([
'lib.coffee',
'testUpdateClient.coffee',
'tests.coffee',
], ['client', 'server']);
api.add_files([
'server.coffee',
'publish.coffee'
], ['server']);
api.add_files([
'client.coffee'
], ['client']);
api.add_files([
'react_test.coffee'
], ['client']);
});