-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.js
29 lines (24 loc) · 896 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
Package.describe({
name: 'gadicohen:headers',
summary: 'Access HTTP headers on both server and client',
version: "0.0.31",
git: 'https://github.com/gadicc/meteor-headers.git'
});
Npm.depends({
'connect': '2.12.0'
});
Package.onUse(function(api) {
api.versionsFrom("0.9.0");
api.use(['webapp', 'livedata', 'deps', 'check', 'underscore'], ['client', 'server']);
api.use('appcache', 'server', { weak: true });
api.use("meteorhacks:[email protected]", ['server', 'client']);
api.addFiles('lib/headers-common.js', ['client', 'server']);
api.addFiles('lib/headers-server.js', 'server');
api.addFiles('lib/headers-client.js', 'client');
api.export('headers', ['client', 'server']);
});
Package.onTest(function(api) {
api.use(['tinytest', 'gadicohen:headers']);
api.addFiles('tests/tests-client.js', 'client');
api.addFiles('tests/tests-server.js', 'server');
});