<commit_before>Package.describe({
  summary: 'Routing specifically designed for Meteor',
  version: "0.9.0",
  git: "https://github.com/eventedmind/iron-router"
});

Package.on_use(function (api) {
  // meteor dependencies
  api.use('underscore');
  api.use('webapp', 'server');
  api.use('deps', 'client');
  api.use('ui');
  api.use('templating');

  // for dynamic scoping with environment variables
  api.use('meteor')

  // main namespace and utils
  api.use('iron:core');
  api.imply('iron:core');

  // connect like middleware stack for client/server
  api.use('iron:middleware-stack');

  // client and server side url utilities and compiling
  api.use('iron:url');

  // for reactive urls and pushState in the browser
  api.use('iron:location');

  // for RouteController which inherits from this
  api.use('iron:controller');

  api.addFiles('lib/current_options.js');
  api.addFiles('lib/http_methods.js');
  api.addFiles('lib/route_controller.js');
  api.addFiles('lib/route_controller_server.js', 'server');
  api.addFiles('lib/route_controller_client.js', 'client');
  api.addFiles('lib/route.js');
  api.addFiles('lib/router.js');
  api.addFiles('lib/router_client.js', 'client');
  api.addFiles('lib/router_server.js', 'server');
  api.addFiles('lib/hooks_client.js', 'client');
  api.addFiles('lib/helpers_client.js', 'client');
  api.addFiles('lib/plugins.js');
  api.addFiles('lib/global_router.js');
  api.addFiles('lib/templates.html');

  // symbol exports
  api.export('Router');
  api.export('RouteController');
});

Package.on_test(function (api) {
  api.use('iron:router');
  api.use('tinytest');
  api.use('test-helpers');

  api.addFiles('test/helpers.js');
  api.addFiles('test/route_test.js');
  api.addFiles('test/router_test.js');
  api.addFiles('test/route_controller_test.js');
});
<commit_msg>change package.js to work with old package system for now<commit_after>Package.describe({
  summary: 'Routing specifically designed for Meteor',
  version: "0.9.0",
  git: "https://github.com/eventedmind/iron-router"
});

Package.on_use(function (api) {
  // meteor dependencies
  api.use('underscore');
  api.use('webapp', 'server');
  api.use('deps', 'client');
  api.use('ui');
  api.use('templating');

  // for dynamic scoping with environment variables
  api.use('meteor')

  // main namespace and utils
  api.use('iron-core');
  api.imply('iron-core');

  // connect like middleware stack for client/server
  api.use('iron-middleware-stack');

  // client and server side url utilities and compiling
  api.use('iron-url');

  // for reactive urls and pushState in the browser
  api.use('iron-location');

  // for RouteController which inherits from this
  api.use('iron-controller');

  api.add_files('lib/current_options.js');
  api.add_files('lib/http_methods.js');
  api.add_files('lib/route_controller.js');
  api.add_files('lib/route_controller_server.js', 'server');
  api.add_files('lib/route_controller_client.js', 'client');
  api.add_files('lib/route.js');
  api.add_files('lib/router.js');
  api.add_files('lib/router_client.js', 'client');
  api.add_files('lib/router_server.js', 'server');
  api.add_files('lib/hooks_client.js', 'client');
  api.add_files('lib/helpers_client.js', 'client');
  api.add_files('lib/plugins.js');
  api.add_files('lib/global_router.js');
  api.add_files('lib/templates.html');

  // symbol exports
  api.export('Router');
  api.export('RouteController');
});

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

  api.add_files('test/helpers.js');
  api.add_files('test/route_test.js');
  api.add_files('test/router_test.js');
  api.add_files('test/route_controller_test.js');
});

{'fraction_non_alphanumeric': 0.18316299085529855, 'fraction_numerical': 0.0016137708445400753, 'mean_word_length': 4.70398773006135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1937393', 'n_tokens_mistral': 1296, 'n_tokens_neox': 1273, 'n_words': 209}