{"size": 439, "ext": "js", "max_stars_repo_path": "packages/react/babel.config.js", "max_stars_repo_name": "nin-jin/reatom", "max_stars_repo_stars_event_min_datetime": "2019-05-07T07:31:41.000Z", "max_stars_repo_stars_event_max_datetime": "2019-05-16T14:38:12.000Z", "max_issues_repo_path": "packages/react/babel.config.js", "max_issues_repo_name": "nin-jin/reatom", "max_issues_repo_issues_event_min_datetime": "2019-06-03T05:05:16.000Z", "max_issues_repo_issues_event_max_datetime": "2019-06-03T05:05:26.000Z", "max_forks_repo_path": "packages/react/babel.config.js", "max_forks_repo_name": "artalar/redux-steroid", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 6, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 21.95, "max_line_length": 73, "alphanum_fraction": 0.5945330296}
const config = {
  presets: [
    '@babel/preset-react',
    '@babel/preset-typescript',
    '@babel/preset-env',
  ],
  // plugins: [
  //   '@babel/plugin-syntax-jsx',
  //   '@babel/plugin-transform-flow-strip-types',
  //   '@babel/plugin-transform-react-jsx',
  // ],
}

if (process.env.NODE_ENV === 'test') {
  config.presets.pop()
  config.presets.push(['@babel/preset-env', { targets: { node: '16' } }])
}

module.exports = config
