package.js 964 B

1234567891011121314151617181920212223242526
  1. // package metadata file for Meteor.js
  2. 'use strict';
  3. var packageName = 'gromo:jquery.scrollbar'; // 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. version: '0.2.10',
  8. // Brief, one-line summary of the package.
  9. summary: 'Cross-browser CSS customizable scrollbar with advanced features.',
  10. // URL to the Git repository containing the source code for this package.
  11. git: 'git@github.com:gromo/jquery.scrollbar.git'
  12. });
  13. Package.onUse(function (api) {
  14. api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0']);
  15. api.use('jquery', where);
  16. api.addFiles(['jquery.scrollbar.js', 'jquery.scrollbar.css'], where);
  17. });
  18. Package.onTest(function (api) {
  19. api.use([packageName, 'sanjo:jasmine'], where);
  20. api.use(['webapp','tinytest'], where);
  21. api.addFiles('meteor/tests.js', where); // testing specific files
  22. });