-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
52 lines (40 loc) · 970 Bytes
/
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
// Package metadata for Meteor.js web platform (https://www.meteor.com/)
// This file is defined within the Meteor documentation at
//
// http://docs.meteor.com/#/full/packagejs
//
// and it is needed to define a Meteor package
'use strict';
var Both = ['client', 'server'];
var Client = 'client';
Package.describe({
name: 'useraccounts:title',
summary: 'UserAccounts title package.',
version: '2.0.0',
git: 'https://github.com/meteor-useraccounts/title.git'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
// Logger
api.use([
'jag:[email protected]',
'underscore',
'useraccounts:[email protected]'
], Both);
api.imply([
'useraccounts:core',
], Both);
api.use([
'templating',
], Client);
api.addFiles([
'src/templates/ua_title.html',
], Client);
// Base Class instantiation
api.addFiles([
'src/_globals.js',
'src/logger.js',
'src/modules/title_module.js',
'src/main.js'
], Both);
});