mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
This included removing some internal version constraints. It would be nice if package A could say "use B@2.0.0" (when both have changed), but when they're both in the release, we need to make a release that has a B@2.0.0-rc in it, which doesn't match that constraint. Fortunately, constraints aren't necessary within a release anyway.
25 lines
710 B
JavaScript
25 lines
710 B
JavaScript
Package.describe({
|
|
summary: "Enable the application cache in the browser",
|
|
version: "1.0.5-plugins.0"
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use('webapp', 'server');
|
|
api.use('reload', 'client');
|
|
api.use('routepolicy', 'server');
|
|
api.use('underscore', 'server');
|
|
api.use('autoupdate', 'server', {weak: true});
|
|
api.addFiles('appcache-client.js', 'client');
|
|
api.addFiles('appcache-server.js', 'server');
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use('tinytest');
|
|
api.use('appcache');
|
|
api.use('http', 'client');
|
|
api.use('underscore', 'client');
|
|
api.use('webapp', 'server');
|
|
api.addFiles('appcache_tests-server.js', 'server');
|
|
api.addFiles('appcache_tests-client.js', 'client');
|
|
});
|