-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.js
46 lines (37 loc) · 1.04 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
Package.describe({
name: 'jamielob:reloader',
version: '1.3.0',
summary: 'More control over hot code push reloading',
git: 'https://github.com/jamielob/reloader/',
documentation: 'README.md'
});
Cordova.depends({
'cordova-plugin-splashscreen': '4.1.0'
});
Package.onUse(function(api) {
api.versionsFrom('1.3.1');
api.use(['ecmascript',
'check',
'underscore',
'reload',
'templating',
'reactive-var',
'tracker',
'launch-screen'], 'client');
api.mainModule('reloader.js', 'web.cordova');
api.mainModule('browser.js', 'web.browser');
// when testing, uncomment this line:
// api.mainModule('reloader.js', 'client');
api.export('Reloader', 'client');
});
// No way to make this only happen onTest
Npm.depends({
sinon: '1.17.3'
});
Package.onTest(function(api) {
api.use('jamielob:reloader', 'client')
api.use(['ecmascript',
'underscore',
'practicalmeteor:mocha'], 'client');
api.mainModule('reloader-tests.js', 'client');
});