PeelTechnologies / react-native-tcp

node's net api in react-native
MIT License
284 stars 212 forks source link

The instruction to use this plugin are not clear enough #100

Open ZMChoo opened 5 years ago

ZMChoo commented 5 years ago

Hi everyone, I'm a beginner here, I would like to ask after installing these dependencies npm install --save-dev rn-nodeify , for the next step, where should I put this command rn-nodeify --install stream,process,util --hack ?

handjunyoung commented 5 years ago

You can put "postinstall": "rn-nodeify --install stream,process,util --hack" into package.json -> scripts. If you put this command into package.json , the command execute every time after npm install