forked from lufrai/spiderable2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
31 lines (26 loc) · 828 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
30
31
Package.describe({
name: "lufrai:spiderable2",
summary: "Docker + Port friendly Spiderable package",
version: "0.9.1",
git: "https://github.com/lufrai/spiderable2",
documentation: 'README.md'
});
Npm.depends({
'zombie': '3.1.1',
'html-minifier': '0.7.2'
});
Package.on_use(function (api) {
api.versionsFrom('1.0.2');
api.use('webapp', 'server');
api.use(['templating'], 'client');
api.use(['underscore'], ['client', 'server']);
api.export( 'Spiderable2' );
api.add_files('spiderable.html', 'client');
api.add_files('spiderable.js', ['client', 'server']);
api.add_files('spiderable_server.js', 'server');
api.add_files('spiderable_client.js', 'client');
});
Package.on_test(function (api) {
api.use(['lufrai:spiderable2', 'tinytest']);
api.add_files('spiderable_tests.js', 'server');
});