Recreate the entire directory to make it npm-ready.