add in project check for command serve and publish