The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rocket.Chat/packages/meteor-timesync/package.js

36 lines
756 B

Package.describe({
name: "mizzao:timesync",
summary: "NTP-style time synchronization between server and client",
version: "0.3.4",
git: "https://github.com/mizzao/meteor-timesync.git"
});
Package.onUse(function (api) {
api.use([
'check',
'tracker',
'http'
], 'client');
api.use('webapp', 'server');
// Our files
api.addFiles('timesync-server.js', 'server');
api.addFiles('timesync-client.js', 'client');
api.export('TimeSync', 'client');
api.export('SyncInternals', 'client', {testOnly: true} );
});
Package.onTest(function (api) {
api.use([
'tinytest',
'test-helpers'
]);
api.use(["tracker", "underscore"], 'client');
api.use("mizzao:timesync");
api.addFiles('tests/client.js', 'client');
});