refactor, use "component/global"
add package.json