1.0.1 • Published 2 years ago

lockfile-shaker-strapi v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

lockfile-shaker-strapi

NPM Version Monthly download on NPM Snyk Vulnerabilities GitHub last commit

Plugin for lockfile-shaker that provides configuration for Strapi serverless deployments.

This has only been tested for Strapi v3.6.10. Use at your own risk for other Strapi versions.

Installation

Install lockfile-shaker and lockfile-shaker-strapi (as a dev-dependency):

npm i -D lockfile-shaker lockfile-shaker-strapi

Add lockfile-shaker to your postinstall script (this will execute lockfile-shaker only on npm install, not npm npm ci):

{
  "scripts" : {
    "postinstall": "node -e \"(process.env.npm_command != 'ci') && require('lockfile-shaker/lib/bin.js')\""
  }
}