After running:
react-native init FirstProject
I got node_modules folder with tons of modules and folder weighing about 139 MB.
Is it ok? Will it affect final application size?
It's perfectly ok. Unnecessary modules will be stripped at the time of deployment/testing on device/emulator. You can check your app size to be sure.