UNPKG

knip

Version:

Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects

14 lines (13 loc) 393 B
import { hasDependency } from '../../util/plugin.js'; import { toC12config } from '../../util/plugin-config.js'; const title = 'bumpp'; const enablers = ['bumpp']; const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers); const entry = ['package.json', ...toC12config('bump')]; const plugin = { title, enablers, isEnabled, entry, }; export default plugin;