mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
19 lines
441 B
JavaScript
19 lines
441 B
JavaScript
Package.describe({
|
|
summary: "Binary Heap datastructure implementation",
|
|
version: '1.0.3'
|
|
});
|
|
|
|
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');
|
|
api.use('binary-heap');
|
|
api.addFiles('binary-heap-tests.js');
|
|
});
|