mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
29 lines
821 B
JavaScript
29 lines
821 B
JavaScript
Package.describe({
|
|
name: "http",
|
|
test: "http-test",
|
|
summary: "Make HTTP calls to remote servers",
|
|
version: '1.0.0'
|
|
});
|
|
|
|
Package.on_use(function (api) {
|
|
api.use('underscore');
|
|
api.export('HTTP');
|
|
api.add_files('httpcall_common.js', ['client', 'server']);
|
|
api.add_files('httpcall_client.js', 'client');
|
|
api.add_files('httpcall_server.js', 'server');
|
|
api.add_files('deprecated.js', ['client', 'server']);
|
|
});
|
|
|
|
Package.on_test(function (api) {
|
|
api.use('webapp', 'server');
|
|
api.use('underscore');
|
|
api.use('random');
|
|
api.use('jquery', 'client');
|
|
api.use('http', ['client', 'server']);
|
|
api.use('test-helpers', ['client', 'server']);
|
|
|
|
api.add_files('test_responder.js', 'server');
|
|
api.add_files('httpcall_tests.js', ['client', 'server']);
|
|
api.add_files('test_static.serveme', 'client');
|
|
});
|