Add validator to dev dependencies