'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _component;

function _load_component() {
  return _component = _interopRequireDefault(require('../consumer/component'));
}

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var ComponentWithDependencies = function ComponentWithDependencies(props) {
  _classCallCheck(this, ComponentWithDependencies);

  this.component = props.component;
  this.dependencies = props.dependencies || [];
  this.devDependencies = props.devDependencies || [];
  this.compilerDependencies = props.compilerDependencies || [];
  this.testerDependencies = props.testerDependencies || [];
  this.allDependencies = [].concat(_toConsumableArray(this.dependencies), _toConsumableArray(this.devDependencies), _toConsumableArray(this.compilerDependencies), _toConsumableArray(this.testerDependencies));
};

exports.default = ComponentWithDependencies;