mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
17 lines
378 B
JavaScript
17 lines
378 B
JavaScript
Package.describe({
|
|
summary: "Random number generator and utilities",
|
|
internal: true
|
|
});
|
|
|
|
Package.on_use(function (api, where) {
|
|
where = where || ['client', 'server'];
|
|
api.use('underscore');
|
|
api.add_files('random.js', where);
|
|
});
|
|
|
|
Package.on_test(function(api) {
|
|
api.use('random');
|
|
api.use('tinytest');
|
|
api.add_files('random_tests.js', ['client', 'server']);
|
|
});
|