This stops NPM from refusing to install ios-sim on an OS other than OS X.
Right now I have a project where ios-sim is a dev-dependency, but developers on Linux can't even npm install the project now, because package.json's os field is preventing NPM from considering it a successful installation. I think the timing of that decision should be at runtime, not install time. Consider also that there may be people who want to install dependencies on Windows or Linux, and package the whole project, before using it on OSX.
The fact that there is no C/C++/ObjC code whatsoever in ios-sim shows that this can be installed on any platform without a problem.
This stops NPM from refusing to install ios-sim on an OS other than OS X.
Right now I have a project where ios-sim is a dev-dependency, but developers on Linux can't even
npm install
the project now, because package.json'sos
field is preventing NPM from considering it a successful installation. I think the timing of that decision should be at runtime, not install time. Consider also that there may be people who want to install dependencies on Windows or Linux, and package the whole project, before using it on OSX.The fact that there is no C/C++/ObjC code whatsoever in ios-sim shows that this can be installed on any platform without a problem.