You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
653 B
27 lines
653 B
// package metadata file for Meteor.js
|
|
'use strict';
|
|
|
|
var packageName = 'momentjs:moment'; // https://atmospherejs.com/momentjs/moment
|
|
|
|
Package.describe({
|
|
name: packageName,
|
|
summary: 'Moment.js (official): parse, validate, manipulate, and display dates - official Meteor packaging',
|
|
version: '2.19.1',
|
|
git: 'https://github.com/moment/moment.git'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0', 'METEOR@1.2']);
|
|
api.export('moment');
|
|
api.addFiles([
|
|
'moment.js',
|
|
'export.js'
|
|
]);
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use(packageName);
|
|
api.use('tinytest');
|
|
|
|
api.addFiles('test.js');
|
|
});
|
|
|