Skip to content

Instantly share code, notes, and snippets.

@jackyef
Last active March 18, 2020 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackyef/73b8266dfa7a917c165219d0758d5779 to your computer and use it in GitHub Desktop.
Save jackyef/73b8266dfa7a917c165219d0758d5779 to your computer and use it in GitHub Desktop.
'use strict';
module.exports = {
hooks: { readPackage },
};
function readPackage(pkg) {
if (pkg.name === 'antd-table-infinity') {
pkg.peerDependencies = { ...pkg.peerDependencies, antd: '^3.20.0' };
}
return pkg;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment