Created by: tomconroy
We maintain a psuedo-fork of react-scripts at https://github.com/firstlookmedia/react-scripts (it only matches the general structure). It seems desirable from #682 (closed) to be able to use git repos as the argument to --scripts-version
-- if some company wants to keep its fork private, this avoids requiring a private npm account. This PR makes that possible:
(https)
create-react-app --scripts-version=git+https://github.com/firstlookmedia/react-scripts.git#init myapp
or (ssh)
create-react-app --scripts-version=git+ssh://git@github.com/firstlookmedia/react-scripts.git myapp
Note that this requires the react-scripts
package being hoisted to its own git repo.
Note also we haven't yet implemented the init.js
script (the init
branch above will work with this method but won't setup the boilerplate).