Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
checks if babel is installed globally and displays correct cli message (
#5258) * checks if babel is installed globally and displays correct cli message - fixes #5228 * recommend local installation and fix lint errors * uses babel-cli vs babel * switch back to babel * use process.cwd() to determine if globally executed * checks for /node_module/.bin/babel * compare execPath and module execution path to determine global or local installation * Move the babel/cli.js into a 'src' so the 'const's are compiled Node < 6.
- Loading branch information