mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
26 lines
752 B
JavaScript
26 lines
752 B
JavaScript
Package.describe({
|
|
summary: "Twitter 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('http', ['client', 'server']);
|
|
api.use('templating', 'client');
|
|
api.use('oauth1', ['client', 'server']);
|
|
api.use('oauth', ['client', 'server']);
|
|
api.use('random', 'client');
|
|
api.use('underscore', 'server');
|
|
api.use('service-configuration', ['client', 'server']);
|
|
|
|
api.export('Twitter');
|
|
|
|
api.add_files(
|
|
['twitter_configure.html', 'twitter_configure.js'],
|
|
'client');
|
|
|
|
api.add_files('twitter_server.js', 'server');
|
|
api.add_files('twitter_client.js', 'client');
|
|
});
|