-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
executable file
·43 lines (33 loc) · 1.18 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
Package.describe({
summary: "A lightweight toolkit to add support for Context.io to your Meteor App.",
version: "0.1.3",
name: "rapito:contextio",
git: "https://github.com/rapito/meteor-contextio.git"
});
Npm.depends({
"contextio": "0.4.0"
});
Package.onUse(function (api) {
var both = ['client', 'server'];
api.versionsFrom('1.1.0.2');
api.use('reactive-var');
api.use('coffeescript');
api.use('underscore');
api.use('practicalmeteor:[email protected]_3');
api.use('standard-app-packages', both);
api.use('templating', 'client');
// API
api.export('Cio', 'server');
api.addFiles('server/lib/ContextIOClient.coffee', 'server');
api.addFiles('both/lib/methods/ContextIOClient.coffee', 'server');
// UI
api.addFiles('client/lib/templates/buttons.html', 'client');
api.addFiles('client/lib/templates/buttons.coffee', 'client');
});
Package.onTest(function (api) {
api.use('rapito:contextio');
api.use('practicalmeteor:munit');
api.use('coffeescript');
api.addFiles('tests/MethodsTests.coffee', 'client');
api.addFiles('tests/ContextIOClientTests.coffee', 'server');
});