adjust command flow

fixed `npm install` not exec when first use generator