forked from Meteor-Community-Packages/meteor-autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
44 lines (35 loc) · 1.12 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
Package.describe({
name: "mizzao:autocomplete",
summary: "Client/server autocompletion designed for Meteor's collections and reactivity",
version: "0.4.10",
git: "https://github.com/mizzao/meteor-autocomplete.git"
});
Package.onUse(function (api) {
api.versionsFrom("0.9.4");
api.use(['blaze', 'templating', 'jquery'], 'client');
api.use(['coffeescript', 'underscore']); // both
api.use(['mongo', 'ddp']);
api.use("dandv:[email protected]", 'client');
// Our files
api.addFiles([
'autocomplete.css',
'inputs.html',
'autocomplete-client.coffee',
'templates.coffee'
], 'client');
api.addFiles([
'autocomplete-server.coffee'
], 'server');
api.export('Autocomplete', 'server');
api.export('AutocompleteTest', {testOnly: true});
});
Package.onTest(function(api) {
api.use("mizzao:autocomplete");
api.use('coffeescript');
api.use('mongo');
api.use('tinytest');
api.addFiles('tests/rule_tests.coffee', 'client');
api.addFiles('tests/regex_tests.coffee', 'client');
api.addFiles('tests/param_tests.coffee', 'client');
api.addFiles('tests/security_tests.coffee');
});