-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.js
52 lines (47 loc) · 1.6 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
45
46
47
48
49
50
51
52
Package.describe({
name:"copleykj:shower",
summary: "A form-data validation and transformation package for Meteor",
version: "0.1.16",
git: "https://github.com/copleykj/meteor-shower.git"
});
Package.onUse(function (api) {
api.versionsFrom("[email protected]");
api.use(['templating','jquery', 'underscore', "mrt:[email protected]"], ['client', 'server']);
api.addFiles(
[
'js/pre.js',
'js/aggregates.js',
'js/formats.js',
'js/rules.js',
'js/transforms.js',
'js/utils.js',
'js/form.js',
'js/shower.js'
],
['client', 'server']
);
api.addFiles('css/shower.css', 'client');
api.export('Shower');
});
Package.onTest(function (api) {
api.use(['jquery', 'underscore', 'test-helpers', 'tinytest', 'mrt:[email protected]'], ['client', 'server']);
api.addFiles(
[
'js/pre.js',
'js/aggregates.js',
'js/formats.js',
'js/rules.js',
'js/transforms.js',
'js/utils.js',
'js/form.js',
'js/shower.js'
],
['client', 'server']
);
api.addFiles('tests/required_tests.js', ['client', 'server']);
api.addFiles('tests/format_tests.js', ['client', 'server']);
api.addFiles('tests/rules_tests.js', ['client', 'server']);
api.addFiles('tests/transforms_tests.js', ['client', 'server']);
api.addFiles('tests/aggregate_tests.js', ['client', 'server']);
api.addFiles('tests/defaultValue_tests.js', ['client', 'server']);
});