-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
63 lines (53 loc) · 1.66 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Package.describe({
name: 'meteor-scada',
version: '0.0.1',
summary: 'Meteor package for building SCADA systems',
git: 'https://github.com/alexshn/meteor-scada',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom("[email protected]");
// Base packages
api.use('[email protected]');
api.imply('[email protected]');
api.use('[email protected]');
api.use('[email protected]');
api.use('[email protected]');
api.use('tmeasday:[email protected]');
// JS
api.use('[email protected]');
api.imply('[email protected]');
api.use('[email protected]');
api.imply('[email protected]');
api.imply('[email protected]');
// Data management
api.use('[email protected]');
api.use('[email protected]');
// Accounts
api.use('[email protected]');
api.use('alanning:[email protected]');
// CSS
api.imply('seba:[email protected]');
// Html and CSS files
api.addFiles('resources/main.html', 'client');
api.addFiles('resources/main.css', 'client');
// Images
api.addAssets([
'resources/images/favicon.ico',
'resources/images/logo.png'
], 'client');
// JS code
api.mainModule('meteor-scada-client.js', 'client');
api.mainModule('meteor-scada-server.js', 'server');
api.export('MeteorScada');
});
Package.onTest(function(api) {
// Do not use meteor-scada itself.
// It's more an application than a package so needs to be tested similary.
api.use('[email protected]');
api.use('[email protected]');
api.use('alanning:[email protected]');
api.use('meteortesting:mocha');
api.mainModule('meteor-scada-client.test.js', 'client');
api.mainModule('meteor-scada-server.test.js', 'server');
});