mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
21 lines
614 B
JavaScript
21 lines
614 B
JavaScript
Package.describe({
|
|
summary: "Github OAuth flow",
|
|
// internal for now. Should be external when it has a richer API to do
|
|
// actual API things with the service, not just handle the OAuth flow.
|
|
internal: true
|
|
});
|
|
|
|
Package.on_use(function(api) {
|
|
api.use('oauth2', ['client', 'server']);
|
|
api.use('http', ['client', 'server']);
|
|
api.use('templating', 'client');
|
|
|
|
api.add_files(
|
|
['github_configure.html', 'github_configure.js'],
|
|
'client');
|
|
|
|
api.add_files('github_common.js', ['client', 'server']);
|
|
api.add_files('github_server.js', 'server');
|
|
api.add_files('github_client.js', 'client');
|
|
});
|