{"size": 1310, "ext": "js", "max_stars_repo_path": "src/pages/imagesCata/routes.js", "max_stars_repo_name": "wangbow/developer-center", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/pages/imagesCata/routes.js", "max_issues_repo_name": "wangbow/developer-center", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/pages/imagesCata/routes.js", "max_forks_repo_name": "wangbow/developer-center", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 38.5294117647, "max_line_length": 75, "alphanum_fraction": 0.6923664122}
import React from 'react';
import { render } from 'react-dom';
import { Router, Route, hashHistory, IndexRoute } from 'react-router';
import MainPage from './Main';

import VersionList from './versionList';
import AppPublish from './publish';
import VersionInfo from './versionInfo';
import TransitionPage from '../../components/transitionPage';
import Cata from './cata';
import PublicCata from './publicCata';
import OwnerCata from './ownerCata';
import PublicList from './container/publiclist';

import AuthPage from '../../components/authPage';

export default (
  <Router history={hashHistory}>
  <Route path="/" component={MainPage}/>
      <Route path="/publiccata/versionlist" component={Cata}>
        <IndexRoute component={PublicList}/>
        <Route path="/publiccata/versioninfo/:id" component={VersionInfo}/>
        <Route path="/publiccata/publish/:id" component={AppPublish}/>
      </Route>
      <Route path="/ownercata/versionlist" component={Cata}>
        <IndexRoute component={VersionList}/>
        <Route path="/ownercata/versioninfo/:id" component={VersionInfo}/>
        <Route path="/ownercata/publish/:id" component={AppPublish}/>
      </Route>
    <Route path="/transition/:state" component={TransitionPage} />
    <Route path="/auth/:id" component={AuthPage} />
  </Router>
)
