From ae6d8900ecd4dfebf2e9a1f217dd14c7c7085a35 Mon Sep 17 00:00:00 2001 From: Axetroy Date: Mon, 27 Nov 2017 15:12:43 +0800 Subject: [PATCH] docs: Update Usage in package.json --- Readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Readme.md b/Readme.md index dd13175..d1847f5 100644 --- a/Readme.md +++ b/Readme.md @@ -34,6 +34,14 @@ size removed 13 MB duration 200ms ``` +Or add to the ``package.json`` scripts field + +``` + "scripts": { + "postinstall": "node-prune" + } +``` + ## Why? ![huge](https://pbs.twimg.com/media/DEIV_1XWsAAlY29.jpg)