-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
34 lines (31 loc) · 1.01 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
Package.describe({
name: 'arnaudbesnier:forest',
version: '0.0.5',
summary: 'Meteor liana for Forest',
git: 'https://github.com/arnaudbesnier/forest-meteor',
documentation: 'README.md'
});
Npm.depends({
"jsonapi-serializer": "3.0.2",
"superagent": "2.0.0-alpha.1"
});
Package.onUse(function(api) {
api.versionsFrom('1.3');
api.use('ecmascript');
api.use('iron:[email protected]', 'server');
api.addFiles('utils/CORS.js', 'server');
api.addFiles('utils/value-filter.js', 'server');
api.addFiles('services/apimaps.js', 'server');
api.addFiles('services/resources-getter.js', 'server');
api.addFiles('services/resource-creator.js', 'server');
api.addFiles('services/resource-remover.js', 'server');
api.addFiles('services/resource-updater.js', 'server');
api.mainModule('forest.js', 'server');
});
Package.onTest(function(api) {
api.use('ecmascript');
api.use('tinytest');
api.use('iron:[email protected]', 'server');
api.use('arnaudbesnier:forest');
api.mainModule('forest-tests.js', 'server');
});