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.
25 lines
640 B
JavaScript
25 lines
640 B
JavaScript
Package.describe({
|
|
summary: "Session variable",
|
|
version: '1.1.7-beta.9'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use(['underscore', 'reactive-dict', 'ejson'], 'client');
|
|
|
|
// Session can work with or without reload, but if reload is present
|
|
// it should load first so we can detect it at startup and populate
|
|
// the session.
|
|
api.use('reload', 'client', {weak: true});
|
|
|
|
api.export('Session', 'client');
|
|
api.addFiles('session.js', 'client');
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use('tinytest');
|
|
api.use('session', 'client');
|
|
api.use('tracker');
|
|
api.use('mongo');
|
|
api.addFiles('session_tests.js', 'client');
|
|
});
|