add dom to require-dev