diff --git a/package.js b/package.js index c40db33..0cd2147 100644 --- a/package.js +++ b/package.js @@ -1,12 +1,12 @@ Package.describe({ summary: 'Accounts Templates styled for Materialize Css.', - version: '1.14.2', + version: '1.15.0', name: 'useraccounts:materialize', git: 'https://github.com/meteor-useraccounts/materialize.git', }); -Package.on_use(function(api, where) { - api.versionsFrom('METEOR@1.0'); +Package.onUse(function(api, where) { + api.versionsFrom(['METEOR@1.0', 'METEOR@2.4']); api.use([ 'templating', @@ -18,14 +18,14 @@ Package.on_use(function(api, where) { ], ['client', 'server']); // Requires all routing packages loads before this asking for weak dependencies. - api.use('useraccounts:flow-routing@1.14.2', ['client', 'server'], {weak: true}); - api.use('useraccounts:iron-routing@1.14.2', ['client', 'server'], {weak: true}); + api.use('useraccounts:flow-routing@1.15.0', ['client', 'server'], {weak: true}); + api.use('useraccounts:iron-routing@1.15.0', ['client', 'server'], {weak: true}); api.imply([ - 'useraccounts:core@1.14.2', + 'useraccounts:core@1.16.2', ], ['client', 'server']); - api.add_files([ + api.addFiles([ 'lib/at_error.html', 'lib/at_error.js', 'lib/at_form.html', @@ -67,7 +67,7 @@ Package.on_use(function(api, where) { ], ['client']); }); -Package.on_test(function(api) { +Package.onTest(function(api) { api.versionsFrom('METEOR@1.4.0.1'); api.use([ @@ -82,7 +82,7 @@ Package.on_test(function(api) { 'templating' ], ['client', 'server']); - api.add_files([ + api.addFiles([ 'tests/tests.js' ], ['client', 'server']); });