Commit 03c62f1c authored by Dan Abramov's avatar Dan Abramov
Browse files

Eject Flow stubs

Related to #72, c2ba7a4a
parent 8c711e22
Showing with 3 additions and 0 deletions
+3 -0
...@@ -42,6 +42,8 @@ prompt('Are you sure you want to eject? This action is permanent. [y/N]', functi ...@@ -42,6 +42,8 @@ prompt('Are you sure you want to eject? This action is permanent. [y/N]', functi
var files = [ var files = [
path.join('config', 'babel.dev.js'), path.join('config', 'babel.dev.js'),
path.join('config', 'babel.prod.js'), path.join('config', 'babel.prod.js'),
path.join('config', 'flow', 'css.js.flow'),
path.join('config', 'flow', 'file.js.flow'),
path.join('config', 'eslint.js'), path.join('config', 'eslint.js'),
path.join('config', 'webpack.config.dev.js'), path.join('config', 'webpack.config.dev.js'),
path.join('config', 'webpack.config.prod.js'), path.join('config', 'webpack.config.prod.js'),
...@@ -65,6 +67,7 @@ prompt('Are you sure you want to eject? This action is permanent. [y/N]', functi ...@@ -65,6 +67,7 @@ prompt('Are you sure you want to eject? This action is permanent. [y/N]', functi
// Copy the files over // Copy the files over
fs.mkdirSync(path.join(hostPath, 'config')); fs.mkdirSync(path.join(hostPath, 'config'));
fs.mkdirSync(path.join(hostPath, 'config', 'flow'));
fs.mkdirSync(path.join(hostPath, 'scripts')); fs.mkdirSync(path.join(hostPath, 'scripts'));
files.forEach(function(file) { files.forEach(function(file) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment