mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
30 lines
659 B
JavaScript
30 lines
659 B
JavaScript
Package.describe({
|
|
summary: "Code shared beween ddp-client and ddp-server",
|
|
version: '1.4.0',
|
|
documentation: null
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use([
|
|
'check',
|
|
'random',
|
|
'ecmascript',
|
|
'ejson',
|
|
'tracker',
|
|
'retry',
|
|
], ['client', 'server']);
|
|
|
|
api.addFiles('namespace.js');
|
|
|
|
api.addFiles('heartbeat.js', ['client', 'server']);
|
|
api.addFiles('utils.js', ['client', 'server']);
|
|
api.addFiles('method_invocation.js', ['client', 'server']);
|
|
api.addFiles('random_stream.js', ['client', 'server']);
|
|
|
|
api.export('DDPCommon');
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
// XXX we should write unit tests for heartbeat
|
|
});
|