Optional peer dependencies are now has a syntax `package.json` but I'd have to test if this causes any issues.