judge if there is the project's name and author's name defined in package.json