serverless-plugin-autoinstall
v0.5.5
Published
Autoinstall plugin for Serveless
Downloads
8
Maintainers
Readme
AutoInstall Plugin for Serverless
Kenneth Falck [email protected] 2016
This is a plugin that automatically runs npm install under each Serverless Component when functions are deployed. This ensures that you don't accidentally deploy a component without a node_modules folder, or with out-of-date dependencies in node_modules when package.json has been modified.
Installation
First install the plugin into your Serverless project:
npm install --save serverless-plugin-autoinstall
Then edit your s-project.json, locate the plugins: [] section, and add the plugin as follows:
plugins: [
"serverless-plugin-autoinstall"
]