package.js 763 B

123456789101112131415161718192021222324252627282930313233
  1. Package.describe({
  2. name: 'emojione:emojione',
  3. summary: 'Meteor Package of http://www.emojione.com/ set',
  4. version: '2.2.7',
  5. git: 'https://github.com/Ranks/emojione.git'
  6. });
  7. Package.onUse(function(api) {
  8. api.versionsFrom('1.0.2.1');
  9. api.addFiles([
  10. 'lib/meteor/pre-export.js',
  11. 'lib/js/emojione.js',
  12. 'lib/meteor/post-export.js',
  13. ]);
  14. api.use([
  15. 'blaze',
  16. 'htmljs',
  17. 'templating',
  18. ], 'client');
  19. api.addFiles([
  20. 'lib/meteor/emojione-client.js',
  21. 'assets/css/emojione.css',
  22. ], 'client');
  23. api.addAssets('assets/sprites/emojione.sprites.css', 'client');
  24. api.addAssets('assets/sprites/emojione.sprites.svg', 'client');
  25. api.addAssets('assets/sprites/emojione.sprites.png', 'client');
  26. api.export('emojione');
  27. });