-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
57 lines (53 loc) · 1.96 KB
/
package.js
File metadata and controls
57 lines (53 loc) · 1.96 KB
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
53
54
55
56
57
Package.describe({
name: 'pwix:validity',
version: '1.4.1',
summary: 'A Meteor package to manage validities',
git: 'https://github.com/trychlos/pwix-validity.git',
documentation: 'README.md'
});
Package.onUse( function( api ){
configure( api );
api.export([
'Validity'
]);
api.mainModule( 'src/client/js/index.js', 'client' );
api.mainModule( 'src/server/js/index.js', 'server' );
});
Package.onTest( function( api ){
configure( api );
api.use( 'tinytest' );
api.use( 'pwix:validity' );
api.mainModule( 'test/js/index.js' );
});
function configure( api ){
const _use = function(){
api.use( ...arguments );
api.imply( ...arguments );
};
api.versionsFrom([ '2.9.0', '3.0-rc.0' ]);
_use( 'blaze-html-templates@2.0.0 || 3.0.0-alpha300.0', 'client' );
_use( 'check' );
_use( 'ecmascript' );
_use( 'less@4.0.0', 'client' );
_use( 'pwix:bootbox@1.5.0' );
_use( 'pwix:date@1.0.0 || 2.0.0-c' );
_use( 'pwix:date-input@2.0.0-rc' );
_use( 'pwix:forms@1.0.0-rc' );
_use( 'pwix:i18n@1.5.0' );
_use( 'pwix:logger@1.0.0-rc' );
_use( 'pwix:modal@2.5.0-rc' );
_use( 'pwix:tabbed@1.0.0' );
_use( 'pwix:ui-bootstrap5@2.0.0' );
_use( 'pwix:ui-fontawesome6@1.0.0' );
_use( 'pwix:ui-utils@1.2.0' );
_use( 'random' );
_use( 'reactive-var' );
_use( 'tmeasday:check-npm-versions@1.0.2 || 2.0.0-beta.0', 'server' );
_use( 'tracker' );
api.addFiles( 'src/client/components/ValidityCountBadge/ValidityCountBadge.js', 'client' );
api.addFiles( 'src/client/components/dtValidityDate/dtValidityDate.js', 'client' );
api.addFiles( 'src/client/components/ValiditiesTabbed/ValiditiesTabbed.js', 'client' );
api.addFiles( 'src/client/components/ValidityFieldset/ValidityFieldset.js', 'client' );
}
// NPM dependencies are checked in /src/server/js/check_npms.js
// See also https://guide.meteor.com/writing-atmosphere-packages.html#peer-npm-dependencies