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.

37 lines
1.0 KiB

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