This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

plop-pack-npm-install-packages

0.0.3 • Public • Published

Plop Pack Npm Install Packages

npm

A PlopJS action to install packages with NPM.

Installation

npm i plop-pack-npm-install-packages

Usage

module.exports = (plop) => {
  // Loads the npmInstall action type
  plop.load('plop-pack-npm-install-packages');
  plop.setGenerator('generator-name', {
    prompts: [
      // ...
    ],
    actions: [
      {
        type: 'npmInstallPackages',
        // Can be a string or an array
        install: ['react', 'lodash@4.17.14'],
      },
    ],
  });
};

For a Plop action that runs npm install for all the dependencies in a package.json, check out plop-pack-npm-install.

Package Sidebar

Install

npm i plop-pack-npm-install-packages

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

2.8 kB

Total Files

5

Last publish

Collaborators

  • piersolenski