package.json - add validator