mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
32 lines
783 B
JavaScript
32 lines
783 B
JavaScript
Package.describe({
|
|
summary: "Google OAuth flow",
|
|
version: '1.4.5',
|
|
});
|
|
|
|
Cordova.depends({
|
|
"cordova-plugin-googleplus": "8.4.0",
|
|
});
|
|
|
|
Package.onUse(api => {
|
|
api.use("ecmascript");
|
|
api.use('oauth2', ['client', 'server']);
|
|
api.use('oauth', ['client', 'server']);
|
|
api.use('fetch', ['server']);
|
|
api.use('service-configuration');
|
|
api.use('random', 'client');
|
|
|
|
api.addFiles('google_server.js', 'server');
|
|
api.addFiles('google_client.js', 'client');
|
|
api.addFiles('google_sign-in.js', 'web.cordova');
|
|
|
|
api.mainModule('namespace.js');
|
|
|
|
api.export('Google');
|
|
});
|
|
|
|
Package.onTest(function(api) {
|
|
api.use('google-oauth');
|
|
api.use(['tinytest', 'ecmascript', 'test-helpers', 'oauth', 'oauth2', 'service-configuration']);
|
|
api.addFiles('google-oauth_tests.js');
|
|
});
|