-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.js
37 lines (30 loc) · 1.28 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
Package.describe({
name: 'babrahams:editable-json',
version: '0.6.8',
summary: 'Editable JSON for Meteor',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/JackAdams/meteor-editable-json.git',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md',
debugOnly: true
});
Package.onUse(function (api) {
api.versionsFrom(['1.8.2', '2.3']);
api.use(['[email protected]', '[email protected]', '[email protected]', '[email protected]', 'reactive-var', 'reactive-dict'], 'client');
api.use('underscore');
api.use('check');
api.use('aldeed:[email protected]', 'client');
// api.use('aldeed:[email protected]', {weak: true}); // This must go before: api.use('dburles:[email protected]');
api.use('dburles:[email protected]');
api.addFiles('editable-json-common.js');
api.addFiles('editable-json.css', 'client');
api.addFiles('editable-json.html', 'client');
api.addFiles('editable-json-client.js', 'client');
api.export('EditableJSON');
});
Package.onTest(function (api) {
api.use('tinytest');
api.use('babrahams:editable-json');
api.addFiles('editable-json-tests.js');
});