-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.js
30 lines (26 loc) · 960 Bytes
/
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
Package.describe({
name: 'ankitv89:instamojo',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: 'Instamojo Payment gateway package for Meteor JS',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/ankitv89/meteorJS-instamojo',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.3.5.1');
api.use(['ecmascript','underscore', 'ejson']);
api.use('http', { weak: true });
api.mainModule('instamojo.js');
api.addFiles('instamojo.js', "server");
api.export('Instamojo', ["client", "server"]);
api.export('HEADERS', "server");
});
Package.onTest(function(api) {
api.use(['ecmascript', 'http']);
api.use('tinytest');
api.use('ankitv89:instamojo');
api.mainModule('instamojo-tests.js');
});