blueprints/ember-cli-react/index.js
function() {
    const packages = [
      {
        name: 'ember-auto-import',
        target: getDependencyVersion(pkg, 'ember-auto-import'),
      },
      {
        name: 'react',
        target: getPeerDependencyVersion(pkg, 'react'),
      },
      {
        name: 'react-dom',
        target: getPeerDependencyVersion(pkg, 'react-dom'),
      },
    ];
    return this.addPackagesToProject(packages);
  }
function() {
    const packages = [
      {
        name: 'ember-auto-import',
        target: getDependencyVersion(pkg, 'ember-auto-import'),
      },
      {
        name: 'react',
        target: getPeerDependencyVersion(pkg, 'react'),
      },
      {
        name: 'react-dom',
        target: getPeerDependencyVersion(pkg, 'react-dom'),
      },
    ];
    return this.addPackagesToProject(packages);
  }
function ( ) { const packages = [ { name : 'ember-auto-import' , target : getDependencyVersion ( pkg , 'ember-auto-import' ) , } , { name : 'react' , target : getPeerDependencyVersion ( pkg , 'react' ) , } , { name : 'react-dom' , target : getPeerDependencyVersion ( pkg , 'react-dom' ) , } , ] ; return this . addPackagesToProject ( packages ) ; }
Install react into host app
Install react into host app