Folder-based modules with package.json


I saw a React-Native video on egghead, where they cleaned up their import urls as follows:

In a folder eg. src/ui/components they would create a package.json file that only contained:

Then they could import their ui-components throughout their app as follows:
import {signinComponent} from "components/signin.jsx"

instead of using relative paths like so:
import {signinComponent} from "../../../../ui/components/signin.jsx"

I tried this in meteor but I get:
Error: Cannot find module components/signin.jsx

Can Meteor do something similar?