testing-library / native-testing-library

🐳 Simple and complete React Native testing utilities that encourage good testing practices.
https://native-testing-library.com
MIT License
515 stars 44 forks source link

Support Installation via Git Dependency #137

Closed phlmn closed 4 years ago

phlmn commented 4 years ago

Describe the feature you'd like:

I would like to be able to install the library via Git instead of the npm registry. Currently this is not working since babel is only run before publishing.

Suggested implementation:

Change prepublishOnly script in package.json to prepare.

Describe alternatives you've considered:

None

Teachability, Documentation, Adoption, Migration Strategy:

This should be fully compatible with the existing solution since it just adds the execution of the script on npm install (without arguments) and on git dependency installation. It will still be executed before publishing.

thymikee commented 4 years ago

FYI, this repository is no longer responsible for this package. See the migration guide.