.babelrc is the full filename. There's no file-extension and np++ is unlikely to enforce a file extension. If it does, rename the file after creating it.
The root of a tree is the parent of all nodes, so it's the top-most directory. In the context of a project that is the directory containing the project.