-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.js
49 lines (42 loc) · 1.52 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
47
48
49
Package.describe({
name: 'rwatts:orionjs-dashboard',
version: '0.1.3',
// Brief, one-line summary of the package.
summary: 'Adds a Dashboard and Widgets to Orion.',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/rwatts3/orionjs-dashboard',
// 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.2.1');
api.use([
'ecmascript',
'meteor-platform',
'check',
'orionjs:[email protected]',
'nicolaslopezj:[email protected]',
'tmeasday:[email protected]',
'fortawesome:[email protected]'
]);
api.imply(['tmeasday:publish-counts','orionjs:core']);
api.use(['orionjs:[email protected]','orionjs:[email protected]'],'client',{weak:true});
api.addFiles('src/orionjs-dashboard.js');
api.addFiles([
'src/orionjs-dashboard.css',
'src/orionjs-dashboard-bootstrap.html',
'src/orionjs-dashboard-bootstrap.css',
'src/orionjs-dashboard-materialize.html',
'src/orionjs-dashboard-client.js',
'src/orionjs-dashboard-api.js'
], 'client');
api.export('orion');
});
Package.onTest(function (api) {
api.use([
'rwatts:orionjs-dashboard','orionjs:core','kadira:flow-router','kadira:blaze-layout','aldeed:tabular','mike:mocha-package'
]);
api.addFiles(['tests/orionjs-dashboard-tests.js']);
});
// meteor test-packages --velocity --driver-package respondly:test-reporter rwatts:orionjs-dashboard