-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
40 lines (34 loc) · 806 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
Package.describe({
name: 'ctjp:autoform-intl-tel-input',
summary: 'Custom input type "intl-tel-input" for AutoForm',
version: '0.2.0',
git: 'https://github.com/ctjp/autoform-intl-tel-input.git'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
//== Use
// Client only
api.use([
// standard-app-packages
'templating',
// Additional packages
'aldeed:[email protected]'
], 'client');
//== Add files
// Client only
api.addFiles([
'autoform-intl-tel-input.html',
'autoform-intl-tel-input.js',
], 'client');
});
Package.onTest(function(api) {
//== Use
// Client only
api.use([
'tinytest',
'ctjp:autoform-intl-tel-input'
], 'client');
//== Add files
// Client only
api.addFiles('tests/autoform-intl-tel-input.js', 'client');
});