mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
31 lines
595 B
JavaScript
31 lines
595 B
JavaScript
Package.describe({
|
|
summary: "Update the client when new client code is available",
|
|
version: '1.6.0'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use([
|
|
'webapp',
|
|
'check',
|
|
'inter-process-messaging',
|
|
], 'server');
|
|
|
|
api.use([
|
|
'tracker',
|
|
'retry'
|
|
], 'client');
|
|
|
|
api.use('reload', 'client', { weak: true });
|
|
|
|
api.use([
|
|
'ecmascript',
|
|
'ddp'
|
|
], ['client', 'server']);
|
|
|
|
api.mainModule('autoupdate_server.js', 'server');
|
|
api.mainModule('autoupdate_client.js', 'client');
|
|
api.mainModule('autoupdate_cordova.js', 'web.cordova');
|
|
|
|
api.export('Autoupdate');
|
|
});
|