const LEGACY_CODES = require('../codes/manifest.json')

const TEMPLATES = ['.babelrc', 'webpack.common.js', 'webpack.config.js']

const PACKAGES = [
  { name: 'awesome-typescript-loader', version: '^5.2.0' },
  { name: 'babel-loader', version: '^7.1.5' },
  { name: 'babel-runtime', version: '^6.26.0' },
  { name: 'babel-core', version: '^6.26.3' },
  { name: 'babel-preset-env', version: '^1.7.0' },
  { name: 'bundle-loader', version: '^0.5.6' },
  { name: 'cache-loader', version: '^1.2.2' },
  { name: 'css-loader', version: '^1.0.0' },
  { name: 'extract-text-webpack-plugin', version: '^4.0.0-beta.0' },
  { name: 'file-loader', version: '^1.1.11' },
  { name: 'happypack', version: '^5.0.0' },
  { name: 'img-loader', version: '^3.0.0' },
  { name: 'postcss-loader', version: '^2.1.6' },
  { name: 'progress-bar-webpack-plugin', version: '^1.11.0' },
  { name: 'sw-precache-webpack-plugin', version: '^0.11.5' },
  { name: 'ts-loader', version: '^4.4.2' },
  { name: 'url-loader', version: '^1.0.1' },
  { name: 'webpack', version: '^4.16.0' },
  { name: 'webpack-dev-server', version: '^3.1.4' },
  { name: 'webpack-parallel-uglify-plugin', version: '^1.1.0' },
  { name: 'friendly-errors-webpack-plugin', version: '^1.7.0' },
  { name: 'webpack-manifest-plugin', version: '^2.0.3' }
]

module.exports = {
  TEMPLATES,
  PACKAGES,
  LEGACY_CODES
}
