check package.json when execute subcmd