-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
46 lines (44 loc) · 1.05 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
Package.describe({
name: 'peterclark:tinymodel',
version: '0.1.1',
summary: 'Tiny models for Meteor',
git: 'https://github.com/peterclark/tinymodel',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.1.0.2');
api.use(
[
'underscore',
'coffeescript',
'taskputty:underscore.string@3.0.3_5'],
['client', 'server']);
api.addFiles(
[
'tinymodel.coffee',
'presence_validator.coffee',
'length_validator.coffee',
'exclusion_validator.coffee',
'format_validator.coffee',
'inclusion_validator.coffee',
'numericality_validator.coffee'
], ['client', 'server']);
});
Package.onTest(function(api) {
api.use(
[
'tinytest',
'peterclark:tinymodel',
'coffeescript',
'underscore'
], ['server']);
api.addFiles(
[
'tests/_setup.coffee',
'tests/tests.coffee',
'presence_validator.coffee',
'length_validator.coffee',
'exclusion_validator.coffee',
'format_validator.coffee'
], ['server']);
});