andreypopp / validated

Validate your configurations with precise error messages
91 stars 14 forks source link

Move babel config out of package.json #27

Closed sstur closed 5 years ago

sstur commented 6 years ago

This should fix #26.

In React Native Jest fails with an error about cannot find babel preset prometheusresearch.

I believe the reason is that in package.json we have some babel config which gets checked into npm.

For some reason this confuses Jest/babel and it tries to convert the published code using babel.

This PR moves this config to a .babelrc file in the project root. This file will not get published with npm.

pronebird commented 6 years ago

We had the same problem! Can we get this merged?

andreypopp commented 6 years ago

Sorry, don't have time to maintain this package. I'd glad to add more collaborators to the repo.