Function removePeerDependencies

  • Remove peerDependencies from the package.json

    Parameters

    • packages: string[]

      list of package to remove

    • Optional cwd: string

      override the working directory

    Returns Promise<void>

    Example

    import { packageJson } from 'ember-apply';

    await packageJson.removePeerDependencies(['autoprefixer', 'tailwindcss']);

Generated using TypeDoc