{"size": 502, "ext": "js", "max_stars_repo_path": "rollup.config.js", "max_stars_repo_name": "Monar/react-managed-input", "max_stars_repo_stars_event_min_datetime": "2018-12-12T10:46:15.000Z", "max_stars_repo_stars_event_max_datetime": "2018-12-12T10:46:15.000Z", "max_issues_repo_path": "rollup.config.js", "max_issues_repo_name": "Monar/react-managed-input", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "rollup.config.js", "max_forks_repo_name": "Monar/react-managed-input", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.3076923077, "max_line_length": 49, "alphanum_fraction": 0.5836653386}
import babel from 'rollup-plugin-babel';
import resolve from 'rollup-plugin-node-resolve';

export default {
  entry: 'src/index.js',
  format: 'umd',
  exports: 'named',
  moduleName: 'window',
  plugins: [
    resolve({
      customResolveOptions: {
        moduleDirectory: 'node_modules',
      },
    }),
    babel({
      exclude: 'node_modules/**',
    }),
  ],
  globals: {
    react: 'React',
    'prop-types': 'PropTypes',
  },
  external: ['react', 'prop-types'],
  dest: 'lib/input.js',
};
