forked from Meteor-Community-Packages/meteor-autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
36 lines (28 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
30
31
32
33
34
35
36
Package.describe({
summary: "Client/server autocompletion designed for Meteor's collections and reactivity"
});
Package.on_use(function (api) {
api.use(['ui', 'templating', 'jquery'], 'client');
api.use(['coffeescript', 'underscore']); // both
api.use('caret-position', 'client');
// Our files
api.add_files([
'autocomplete.css',
'inputs.html',
'autocomplete-client.coffee',
'templates.coffee'
], 'client');
api.add_files([
'autocomplete-server.coffee'
], 'server');
api.export('AutocompleteTest', {testOnly: true});
});
Package.on_test(function(api) {
api.use('autocomplete');
api.use('coffeescript');
api.use('tinytest');
api.add_files('tests/rule_tests.coffee', 'client');
api.add_files('tests/regex_tests.coffee', 'client');
api.add_files('tests/param_tests.coffee', 'client');
api.add_files('tests/security_tests.coffee');
});