In my package.json file I have the main option where I specify the default include for when you import 'my-index' from 'my-module'
However I want to split my-module into separate files, and let the developer include them individually: import 'my-index/another-file from 'my-module'.
I see one option is to put another-file.js in the root of the my-module repository, but I don't want to place that in the root, I want it in src/another-file.js.
Is there a way to specify this in the package.json file?