← All tasks
javascriptblakeembrey/change-case #329Not a task: not reproduced

Is it possible to add "main" key to package.json?

envgap__blakeembrey__change-case-329

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
fad3b5d08e47ae01ab82b5a533257ffac3bb44d2
Manifest
packages/change-case/package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

blakeembrey/change-case #329 · read the original issue
I'm trying to use change-case in a react native project, but the metro bundler is expecting a "main" key in the [package.json](https://github.com/blakeembrey/change-case/blob/main/packages/change-case/package.json#L31). When I add `"main": "./dist/index.js",` it works just fine. I'm happy to submit a PR but was a bit unsure how the project was structured and if I should make the change to just change-case or also sponge-case, swap-case, etc.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]