package.js 871 B

123456789101112131415161718192021222324
  1. // package metadata file for Meteor.js
  2. 'use strict';
  3. var packageName = 'abpetkov:switchery'; // https://atmospherejs.com/mediatainment/switchery
  4. var where = 'client'; // where to install: 'client' or 'server'. For both, pass nothing.
  5. Package.describe({
  6. name: packageName,
  7. summary: 'Switchery (official) - turns your default HTML checkbox inputs into beautiful iOS 7 style switches.',
  8. version: "0.1.0", //packageJson.version,
  9. git: 'https://github.com/abpetkov/switchery'
  10. });
  11. Package.onUse(function(api) {
  12. api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0']);
  13. api.export('Switchery');
  14. api.addFiles(['dist/switchery.js', 'dist/switchery.css', 'meteor/export.js'], where);
  15. });
  16. Package.onTest(function(api) {
  17. api.use(packageName, where);
  18. api.use('tinytest', where);
  19. api.addFiles('meteor/tests.js', where); // testing specific files
  20. });