optimize the way getting value

optimize the way getting value from deploy-conf.js. using the AST-query
way.
upgrade the version