s/create-react-app-scripts/react-scripts/

This commit is contained in:
Christopher Chedeau
2016-07-18 14:47:43 -07:00
parent bcbf63f711
commit 862900d94f
4 changed files with 10 additions and 10 deletions

View File

@@ -75,8 +75,8 @@ prompt('Are you sure you want to eject? This action is permanent. [y/N]', functi
var selfPackage = require(path.join(selfPath, 'package.json'));
var hostPackage = require(path.join(hostPath, 'package.json'));
console.log('Removing dependency: create-react-app-scripts');
delete hostPackage.devDependencies['create-react-app-scripts'];
console.log('Removing dependency: react-scripts');
delete hostPackage.devDependencies['react-scripts'];
Object.keys(selfPackage.dependencies).forEach(function (key) {
console.log('Adding dependency: ' + key);