refined dependencies into peerDependencies and dependencies