{"size": 456, "ext": "js", "max_stars_repo_path": "packages/api/src/hooks/routes/index.js", "max_stars_repo_name": "LorenzoHiver-LV/LvConnect", "max_stars_repo_stars_event_min_datetime": "2021-05-25T15:50:04.000Z", "max_stars_repo_stars_event_max_datetime": "2021-05-25T15:50:04.000Z", "max_issues_repo_path": "packages/api/src/hooks/routes/index.js", "max_issues_repo_name": "LorenzoHiver-LV/LvConnect", "max_issues_repo_issues_event_min_datetime": "2019-02-19T12:11:09.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T09:56:25.000Z", "max_forks_repo_path": "packages/api/src/hooks/routes/index.js", "max_forks_repo_name": "isabella232/LvConnect", "max_forks_repo_forks_event_min_datetime": "2020-02-05T15:08:20.000Z", "max_forks_repo_forks_event_max_datetime": "2020-12-03T11:53:18.000Z"}
{"max_stars_count": 1, "max_issues_count": 41, "max_forks_count": 3, "avg_line_length": 26.8235294118, "max_line_length": 89, "alphanum_fraction": 0.7039473684}
const postHook = require('./postHook.route');
const getHooks = require('./getHooks.route');
const getHook = require('./getHook.route');
const putHook = require('./putHook.route');
const deleteHook = require('./deleteHook.route');
const postHookTest = require('./postHookTest.route');

const routes = [
  postHook,
  getHooks,
  getHook,
  putHook,
  deleteHook,
];

module.exports = process.env.APP_ENV === 'test' ? routes.concat([postHookTest]) : routes;
