-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
60 lines (48 loc) · 1.5 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
57
58
59
60
'use strict';
// 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
var Both = ['client', 'server'];
var Client = 'client';
Package.describe({
name: 'useraccounts:base',
summary: 'UserAccounts base package.',
version: '2.0.0',
git: 'https://github.com/meteor-useraccounts/init.git'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
// Logger
api.use([
'jag:[email protected]',
'useraccounts:[email protected]'
], Both);
api.imply([
'useraccounts:core',
], Both);
// Requires all other packages loads before this asking for weak dependencies.
api.use('useraccounts:[email protected]', Both, {weak: true});
api.use('useraccounts:[email protected]', Both, {weak: true});
api.use('useraccounts:[email protected]', Both, {weak: true});
api.use('useraccounts:[email protected]', Both, {weak: true});
api.use('useraccounts:[email protected]', Both, {weak: true});
api.use('useraccounts:[email protected]', Both, {weak: true});
api.use('useraccounts:[email protected]', Both, {weak: true});
api.use('useraccounts:[email protected]', Both, {weak: true});
api.use('useraccounts:[email protected]', Both, {weak: true});
// Base Class instantiation
api.addFiles([
'src/_globals.js',
'src/logger.js',
'src/main.js'
], Both);
api.use([
'templating'
], Client);
api.addFiles([
'src/helpers.js'
], Client);
});