mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
I had to scrap the 1.4.2-beta.8 release because meteor-tool@1.4.2-beta.8 got published by a partial run of the publish-release script, but then the publish-release script thought meteor-tool changed after that, and I didn't want to republish it as something like 1.4.2-1-beta.8.
40 lines
953 B
JavaScript
40 lines
953 B
JavaScript
Package.describe({
|
|
summary: "Make HTTP calls to remote servers",
|
|
version: '1.2.10-beta.9'
|
|
});
|
|
|
|
Npm.depends({
|
|
request: "2.72.0"
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use([
|
|
'underscore',
|
|
'url',
|
|
'ecmascript'
|
|
]);
|
|
|
|
api.export('HTTP');
|
|
api.export('HTTPInternals', 'server');
|
|
api.addFiles('httpcall_common.js', ['client', 'server']);
|
|
api.addFiles('httpcall_client.js', 'client');
|
|
api.addFiles('httpcall_server.js', 'server');
|
|
api.addFiles('deprecated.js', ['client', 'server']);
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use('ecmascript');
|
|
api.use('webapp', 'server');
|
|
api.use('underscore');
|
|
api.use('random');
|
|
api.use('jquery', 'client');
|
|
api.use('http', ['client', 'server']);
|
|
api.use('tinytest');
|
|
api.use('test-helpers', ['client', 'server']);
|
|
|
|
api.addFiles('test_responder.js', 'server');
|
|
api.addFiles('httpcall_tests.js', ['client', 'server']);
|
|
|
|
api.addAssets('test_static.serveme', 'client');
|
|
});
|