From f0d3b7e78831d90d521fe8a7ccff35ec858c7e6e Mon Sep 17 00:00:00 2001 From: Cornholio <0@mcornholio.ru> Date: Mon, 26 Feb 2018 04:20:55 +0300 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bcf4eeb..709b050 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Veendor: ### How it works It calculates SHA-1 of `dependencies` and `devDependencies` in your `package.json`, then searches for that hash in `backends` (cache providers). +If you commit your `package-lock.json` or `npm-shrinkwrap.json`, it contents will be hashed too. If found, veendor downloads archive and unpacks your `node_modules`. Voila! If not, veendor looks at previous revisions of your `package.json` and tries to find older bundles, then installs only deps that have changed.