Skip to content

Commit

Permalink
Eject Flow stubs
Browse files Browse the repository at this point in the history
Related to #72, c2ba7a4
  • Loading branch information
gaearon committed Jul 22, 2016
1 parent 6885094 commit 2a78a54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/eject.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ prompt('Are you sure you want to eject? This action is permanent. [y/N]', functi
var files = [
path.join('config', 'babel.dev.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', 'webpack.config.dev.js'),
path.join('config', 'webpack.config.prod.js'),
Expand All @@ -65,6 +67,7 @@ prompt('Are you sure you want to eject? This action is permanent. [y/N]', functi

// Copy the files over
fs.mkdirSync(path.join(hostPath, 'config'));
fs.mkdirSync(path.join(hostPath, 'config', 'flow'));
fs.mkdirSync(path.join(hostPath, 'scripts'));

files.forEach(function(file) {
Expand Down

0 comments on commit 2a78a54

Please sign in to comment.