tradle / react-native-crypto

partial implementation of node's `crypto` for react-native
MIT License
372 stars 85 forks source link

Question: run rn-nodeify --install with mandatory package only #55

Closed johanschram closed 4 years ago

johanschram commented 4 years ago

Hi !

A quick question, When doing rn-nodeify --install --hack, I suspect it installs much more packages than actually needed to for react-native-crypto. I Might be wrong thought... Anyway, if this is the case, has someone the list of the mandatory packages to make all features of react-native-crypto work ?

Thanks !

mvayngrib commented 4 years ago

@johanschram not sure, but off the top of my head, this might do it

rn-nodeify --install process,stream,inherits,crypto,events,assert,os,string_decoder,util,constants,buffer --hack

haha, added a bunch more after looking at the list

johanschram commented 4 years ago

Thanks !

Actually I will go for this option which feel a little bit cleaner :)

johanschram commented 4 years ago

--install process,stream,inherits,crypto,events,assert,os,string_decoder,util,constants,buffer --hack

Apparently vm is needed too.