-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
executable file
·58 lines (45 loc) · 1.33 KB
/
Copy pathpackage.js
File metadata and controls
executable file
·58 lines (45 loc) · 1.33 KB
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
57
58
Package.describe({
name: 'example:meteor-package',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: '',
// URL to the Git repository containing the source code for this package.
git: '',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.use([
'accounts-base',
'mongo',
'session',
'tracker',
'ecmascript',
'templating',
'coffeescript',
'underscore',
'rocketchat:lib',
'kadira:flow-router',
'reactive-var',
'raix:push',
'raix:ui-dropped-event',
'aaronroberson:angular-strap',
'mrt:nprogress'
]);
api.use('kadira:flow-router', 'client');
//Router
// api.addFiles('client/routes/router.js', 'client');
//Client Side Collection
// api.addFiles('client/collections/collection.js', 'client');
//Models
// api.addFiles('server/models/xxxx.js', 'server');
//Publications
// api.addFiles('server/publications/xxxx.js', 'server');
//Templates HTML
// api.addFiles('client/templates/example_template.html', 'client');
//Templates JS
// api.addFiles('client/templates/example_template.js', 'client');
//Server-Side methods
// api.addFiles('server/methods/exampleMethod.js', 'server');
});