added check in package.json