<commit_before>Package.describe({
  summary: 'Routing for Meteor'
});

Package.on_use(function (api) {
  api.use([
    'meteor',
    'deps',
    'underscore',
    'handlebars',
    'posture',
    'controller'
  ], 'client');

  api.add_files([
    'lib/route_path.js',
    'lib/route_context.js',
    'lib/route.js',
    'lib/router.js'
  ], ['client', 'server']);

  api.add_files([
    'lib/client/location.js',
    'lib/client/route_controller.js',
    'lib/client/client_router.js',
    'lib/client/helpers.js'
  ], 'client');

  api.add_files([
    'lib/server/route_controller.js',
    'lib/server/server_router.js'
  ], 'server');
});

Package.on_test(function (api) {
  api.use('iron-router', 'client');
  api.use('reactive-dict', 'client');
  api.use('tinytest', 'client');
  api.use('test-helpers', 'client');


  api.add_files([
    'test/test-helpers.js',
    'test/route_path_test.js',
    'test/route_context_test.js',
    'test/route_test.js',
    'test/router_test.js'
  ], ['client', 'server']);

  api.add_files([
    'test/client/location_test.js',
    'test/client/route_controller_test.js',
    'test/client/client_router_test.js',
  ], 'client');

  api.add_files([
    'test/server/route_controller_test.js',
    'test/server/server_router_test.js',
  ], 'server');
});<commit_msg>Updated package so IronRouter runs on client and server.<commit_after>Package.describe({
  summary: 'Routing for Meteor'
});

Package.on_use(function (api) {
  api.use([
    'meteor',
    'deps',
    'underscore',
    'handlebars',
    'posture',
    'controller'
  ], 'client');

  api.add_files([
    'lib/route_path.js',
    'lib/route_context.js',
    'lib/route.js',
    'lib/router.js'
  ], ['client', 'server']);

  api.add_files([
    'lib/client/location.js',
    'lib/client/route_controller.js',
    'lib/client/client_router.js',
    'lib/client/helpers.js'
  ], 'client');

  api.add_files([
    'lib/server/route_controller.js',
    'lib/server/server_router.js'
  ], 'server');
});

Package.on_test(function (api) {
  api.use('iron-router', ['client', 'server']);
  api.use('reactive-dict', 'client');
  api.use('tinytest', 'client');
  api.use('test-helpers', 'client');


  api.add_files([
    'test/test-helpers.js',
    'test/route_path_test.js',
    'test/route_context_test.js',
    'test/route_test.js',
    'test/router_test.js'
  ], ['client', 'server']);

  api.add_files([
    'test/client/location_test.js',
    'test/client/route_controller_test.js',
    'test/client/client_router_test.js',
  ], 'client');

  api.add_files([
    'test/server/route_controller_test.js',
    'test/server/server_router_test.js',
  ], 'server');
});
{'fraction_non_alphanumeric': 0.20127675553886595, 'fraction_numerical': 0.0, 'mean_word_length': 3.5076142131979697, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5640838', 'n_tokens_mistral': 1013, 'n_tokens_neox': 996, 'n_words': 127}