-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.js
48 lines (37 loc) · 987 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
37
38
39
40
41
42
43
44
45
46
47
48
Package.describe({
name: 'templates:forms',
summary: 'Dead easy reactive forms with validation.',
version: '2.1.4',
git: 'https://github.com/meteortemplates/forms.git'
});
Package.onUse(function(api) {
api.export('ReactiveForms');
api.versionsFrom('METEOR@1.0');
api.use([
'templating',
'tracker',
'check',
'reactive-var',
'underscore'
], 'client');
api.use([
'check'
], 'server');
api.use('aldeed:simple-schema@1.5.2');
api.imply('aldeed:simple-schema');
// Templates
api.addFiles('templates/basicFormElement.html', 'client');
api.addFiles('templates/basicFormBlock.html', 'client');
// Extensions
api.addFiles('extensions/simple-schema.js');
// Library
api.addFiles('src/helpers.js', 'client');
api.addFiles('src/module.js', 'client');
// Setup
api.addFiles('init.js', 'client');
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('templates:forms');
api.addFiles('tests/basic.js');
});