move phantom to a peer dependency