-
Notifications
You must be signed in to change notification settings - Fork 51
/
package.js
26 lines (22 loc) · 943 Bytes
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// package metadata file for Meteor.js
'use strict';
var packageName = 'dreamerslab:jquery.actual'; // https://atmospherejs.com/mediatainment/switchery
var where = 'client'; // where to install: 'client' or 'server'. For both, pass nothing.
Package.describe({
name: packageName,
version: '1.0.19',
// Brief, one-line summary of the package.
summary: 'Get the actual width/height of invisible DOM elements with jQuery.',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/dreamerslab/jquery.actual'
});
Package.onUse(function (api) {
api.versionsFrom(['[email protected]', '[email protected]']);
api.use('jquery', where);
api.addFiles('jquery.actual.js', where);
});
Package.onTest(function (api) {
api.use([packageName, 'sanjo:jasmine'], where);
api.use(['webapp','tinytest'], where);
api.addFiles('meteor/tests.js', where); // testing specific files
});