I just don't like putting everything into the root folder. Especially since it prevents adding more other folders later. Sooner or later you might have 3 different package.json files.
Deploying your Python + Javascript app to Heroku is easy today.
1. You just have to add official python and nodejs buildpacks to your config.
http://i.imgur.com/ocFtYtO.png
2. Put requirements.txt and package.json to the root of your github repo.
For example see https://github.com/gbtami/pychess-variants
Comment
I just don't like putting everything into the root folder. Especially since it prevents adding more other folders later. Sooner or later you might have 3 different package.json files.
Parent comment
Deploying your Python + Javascript app to Heroku is easy today. 1. You just have to add official python and nodejs buildpacks to your config. http://i.imgur.com/ocFtYtO.png 2. Put requirements.txt and package.json to the root of your github repo. For example see https://github.com/gbtami/pychess-variants