@dotcom-tool-kit/npm
v4.1.1
Published
This plugin is for managing Tool Kit hooks that are run from npm scripts (such as `npm run test`).
Downloads
3,233
Readme
@dotcom-tool-kit/npm
This plugin is for managing Tool Kit hooks that are run from npm scripts (such as npm run test
).
This plugin will be installed as a dependency of the frontend-app, backend-heroku-app, and component plugins so you do not need to install it separately if you are using either of those plugins.
Installation
Install @dotcom-tool-kit/npm
as a devDependency
in your app:
npm install --save-dev @dotcom-tool-kit/npm
Add the plugin to your Tool Kit configuration:
plugins:
- '@dotcom-tool-kit/npm'
Tasks
NpmPrune
Prune development npm dependencies.
NpmPublish
Publish package to the npm registry.