forked from adamwdraper/Numeral-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
32 lines (28 loc) · 837 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
27
28
29
30
31
32
// package metadata file for Meteor.js
var packageName = 'numeral:numeral'; // https://atmospherejs.com/numeral/numeral
var where = ''; // where to install: 'client' or 'server'. For both, pass nothing.
var version = "1.5.3";
Package.describe({
"name": packageName,
"summary": 'Numeral.js (official) - formatting and manipulating numbers.',
"version": version,
"git": 'https://github.com/adamwdraper/Numeral-js.git'
});
Npm.depends({
"numeral": version
});
Package.onUse(function (api) {
api.versionsFrom(['[email protected]', '[email protected]']);
api.export('numeral');
api.addFiles([
'numeral.js',
'min/languages.min.js',
'meteor/export.js'
], where
);
});
Package.onTest(function (api) {
api.use(packageName, where);
api.use('tinytest', where);
api.addFiles('meteor/export-test.js', where);
});