-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
39 lines (34 loc) · 1.14 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
Package.describe({
summary: "Implements a file manifest and uploads for Meteor applications.",
name: "hive:file-registry",
version: "0.9.20",
git: "https://github.com/UK-AS-HIVE/meteor-file-registry"
});
Npm.depends({mime: '1.3.4'});
Cordova.depends({
"org.apache.cordova.media-capture": "0.3.2"
});
Package.onUse(function(api, where) {
api.versionsFrom("[email protected]");
api.use(['coffeescript', 'aldeed:[email protected]', 'mongo', 'jquery', 'underscore', 'check'], ['client', 'server']);
api.use('differential:[email protected]','server');
api.addFiles(['file-registry.coffee'], ['client', 'server']);
api.addFiles('jobs.coffee', 'server');
api.addFiles('uploads.coffee', ['client','server']);
api.addFiles('cordova.coffee', 'web.cordova');
api.addFiles('web.coffee', 'web.browser');
api.export(['FileRegistry'], ['client', 'server']);
});
Package.onTest(function (api) {
api.use('coffeescript');
api.use('underscore');
api.use('hive:file-registry');
api.use('tinytest');
api.use('test-helpers');
api.use('differential:[email protected]');
/*
api.addFiles([
'file-registry-test.coffee',
], ['client', 'server']);
*/
});