forked from Urigo/angular-meteor-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
54 lines (46 loc) · 1.32 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
Package.describe({
name: "angular-meteor-auth",
summary: "Angular-Meteor authentication module",
version: "1.0.2",
git: "https://github.com/urigo/angular-meteor-auth.git",
documentation: null
});
Package.onUse(function(api) {
api.versionsFrom('[email protected]');
api.use('[email protected]');
api.use('[email protected]');
api.use('ecmascript');
api.use('reactive-var');
api.use('accounts-base');
api.use('[email protected]');
api.use('angular:[email protected]', 'client');
// Files to load in Client only.
api.add_files([
'dist/angular-meteor-auth.js'
], 'client');
});
Package.onTest(function(api) {
api.use('[email protected]');
api.use('[email protected]');
api.use('[email protected]');
api.use('sanjo:[email protected]');
api.use('angular:[email protected]');
api.use('angular-meteor-auth');
api.use('ecmascript');
/*
To load local version of angular-meteor:
- Clone [email protected]:Urigo/angular-meteor.git into parent dir.
- Remove `angular-meteor-data` from the dependencies list.
- Remove the following code block from comment.
*/
// api.addFiles([
// '../angular-meteor/dist/angular-meteor.js'
// ], 'client');
api.addFiles([
'tests/mocks.js',
'tests/integration/auth.spec.js'
], 'client');
api.addFiles([
'tests/publish.js'
], 'server');
});