Package.describe({
  name: 'dispatch:scrollview',
  version: '0.0.2',
  summary: 'Fast infinite scrollview'
});

Package.onUse(function (api) {
  api.versionsFrom('1.0');

  api.export('ScrollView');
  api.export('TemplateSequence');
  api.export('ScrollPosition');

  api.use([
    'dispatch:kernel@0.0.3',
    'dispatch:events-pan@0.0.3',
    'dispatch:interpolator@0.0.2',
    'reactive-var', 'templating', 'tracker',
    'underscore'
  ], 'web');

  api.addFiles([
    'scrollposition.js',
    'template-sequence.js',
    'scrollview.js',
    'scrollview.api.js'
  ], 'web');
});

Package.onTest(function (api) {
  api.use('dispatch:scrollview', ['client']);

  api.use('test-helpers', 'client');
  api.use(['tinytest', 'underscore', 'ejson', 'ordered-dict',
           'random', 'tracker', 'templating']);

  // TemplateSequence
  api.add_files('tests/template-sequence.html', 'client');
  api.add_files('tests/template-sequence.0.js', 'client');
  api.add_files('tests/template-sequence.1.js', 'client');
  api.add_files('tests/template-sequence.2.js', 'client');

  // ScrollPosition
  api.add_files('tests/scroll-position.js', 'client');
});

@@ -159,17 +159,17 @@
 From('1.
-0
+2
 ');%0A%0A  a
@@ -175,108 +175,129 @@
 api.
-export('ScrollView');%0A  api.export('TemplateSequence');%0A  api.export('ScrollPosition');%0A%0A  api.use(%5B
+use(%5B%0A    // core%0A    'jquery',%0A    'reactive-var',%0A    'templating',%0A    'tracker',%0A    'underscore',%0A%0A    // atmosphere
 %0A   
@@ -347,25 +347,25 @@
 nts-pan@0.0.
-3
+4
 ',%0A    'disp
@@ -392,71 +392,8 @@
 0.2'
-,%0A    'reactive-var', 'templating', 'tracker',%0A    'underscore'
 %0A  %5D
@@ -530,16 +530,111 @@
  'web');
+%0A%0A  api.export('ScrollView');%0A  api.export('TemplateSequence');%0A  api.export('ScrollPosition');
 %0A%7D);%0A%0APa

Update package dependencies to work with meteor 1.2