Basic requirements of mec for iOS build

Hello,
I want to buy second hand mac for running Ionic v1 release build for iOS on my app.
What is minimum requirement for Ionic developing and releasing on mac?

Thanks!