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