javascript - Pointing package.json to a specific React commit installs react-tools (not react) -


when add line package.json:

"react": "git://github.com/facebook/react.git#08e4420019f74b7c93e64f59c443970359102530" 

...and run npm install, find node_modules/react-tools installed when expect see node_modules/react.

what doing wrong here?

the code @ git://github.com/facebook/react.git not same code gets installed when npm install react. instead, code contains series of build steps used build npm package. far know, there not way use specific sha of react repo npm package; need clone repo, build project, , copy somewhere can require it.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -