Files
meteor/packages/accounts-github/package.js
David Glasser 6970a89ee0 Implement "api.imply". Make all accounts packages imply accounts-base.
If X uses Y and Y implies Z, then X is also treated as using Z. This can be used
to create umbrella packages, etc.
2013-07-16 18:45:56 -07:00

18 lines
566 B
JavaScript

Package.describe({
summary: "Login service for Github accounts"
});
Package.on_use(function(api) {
api.use('accounts-base', ['client', 'server']);
// Export Accounts (etc) to packages using this one.
api.imply('accounts-base', ['client', 'server']);
api.use('accounts-oauth', ['client', 'server']);
api.use('github', ['client', 'server']);
api.add_files('github_login_button.css', 'client');
api.add_files('github_common.js', ['client', 'server']);
api.add_files('github_server.js', 'server');
api.add_files('github_client.js', 'client');
});