Add the licence file.
Add initial files.
Initial package.json.
Add and install dependencies and ignore them.
Base cases.
Handle more complex cases.