package.js 550 B

123456789101112131415161718192021222324
  1. Package.describe({
  2. name: 'fgm:drupal-sso',
  3. version: '0.0.1',
  4. summary: 'A transparent authentication package for Drupal 8',
  5. // git: '',
  6. documentation: 'README.md'
  7. });
  8. Package.onUse(function(api) {
  9. api.versionsFrom('1.1.0.3');
  10. api.addFiles('lib/drupalsso.js');
  11. api.addFiles('client/helpers.js', 'client');
  12. api.addFiles('server/sso.js', 'server');
  13. api.addFiles('sso.js');
  14. api.export('DrupalSSO');
  15. });
  16. Package.onTest(function(api) {
  17. api.use('tinytest');
  18. api.use('fgm:drupal-sso');
  19. api.addFiles('drupal-sso-tests.js');
  20. });