Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package.json config option #9

Merged
merged 4 commits into from
Mar 17, 2017
Merged

Add package.json config option #9

merged 4 commits into from
Mar 17, 2017

Conversation

jsg2021
Copy link
Contributor

@jsg2021 jsg2021 commented Mar 16, 2017

This allows you to define your options into the package.json (just like jest does)

@palmerj3
Copy link
Collaborator

@jsg2021 nice! Good idea. I would much rather not introduce another dependency if we don't have to so would you mind replacing read-pkg with a simple require(path.join(process.cwd(), 'package.json'))

Thanks!

@jsg2021
Copy link
Contributor Author

jsg2021 commented Mar 16, 2017

Sure, I just used the same method jest did. I'll update it.

@palmerj3
Copy link
Collaborator

👍 nice work!

@palmerj3 palmerj3 merged commit 61ff401 into jest-community:master Mar 17, 2017
@palmerj3
Copy link
Collaborator

@jsg2021 this is now part of 1.4.0 and has been published. Thanks again! https://github.com/palmerj3/jest-junit/releases/tag/v1.4.0

@jsg2021
Copy link
Contributor Author

jsg2021 commented Mar 17, 2017

awesome. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants