mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
23 lines
463 B
JavaScript
23 lines
463 B
JavaScript
Package.describe({
|
|
summary: "Binary Heap datastructure implementation",
|
|
version: '1.0.9'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.export('MaxHeap');
|
|
api.export('MinHeap');
|
|
api.export('MinMaxHeap');
|
|
api.use(['underscore', 'id-map']);
|
|
api.addFiles(['max-heap.js', 'min-heap.js', 'min-max-heap.js']);
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use([
|
|
'tinytest',
|
|
'underscore',
|
|
'binary-heap'
|
|
]);
|
|
|
|
api.addFiles('binary-heap-tests.js');
|
|
});
|