You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.0 KiB

9 years ago
  1. var
  2. where = 'client' // Adds files only to the client
  3. ;
  4. Package.describe({
  5. git : 'git://github.com/Semantic-Org/Semantic-UI.git',
  6. name : 'semantic:ui',
  7. readme : 'https://github.com/Semantic-Org/Semantic-UI/blob/master/meteor/README.md',
  8. summary : 'Semantic (official): a UI component framework based around useful principles from natural language.',
  9. version : '1.7.0'
  10. });
  11. Package.onUse(function(api) {
  12. api.versionsFrom('1.0');
  13. api.addFiles([
  14. 'dist/semantic.css',
  15. 'dist/semantic.js',
  16. 'dist/themes/default/assets/fonts/icons.eot',
  17. 'dist/themes/default/assets/fonts/icons.otf',
  18. 'dist/themes/default/assets/fonts/icons.svg',
  19. 'dist/themes/default/assets/fonts/icons.ttf',
  20. 'dist/themes/default/assets/fonts/icons.woff',
  21. 'dist/themes/default/assets/images/flags.png'
  22. ], where);
  23. });
  24. Package.onTest(function(api) {
  25. api.use([
  26. 'http',
  27. 'semantic:ui',
  28. 'tinytest'
  29. ], where);
  30. api.addFiles([
  31. 'test/meteor/assets.js',
  32. 'test/meteor/fonts.js',
  33. ], where);
  34. });