From a8efaced36c19d2d207484e23527c8a26d425efe Mon Sep 17 00:00:00 2001 From: Roly Fentanes Date: Wed, 4 Feb 2015 17:24:34 -0500 Subject: [PATCH] document how to keep youtube-dl binary up to date. fixes #61 --- README.md | 2 ++ package.json | 1 + 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 27ab6a9..75f729b 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,8 @@ Will print something like npm install youtube-dl +Since the youtube-dl binary is updated regularly, you can run `npm update` to check for and download any updates for it. + # Tests diff --git a/package.json b/package.json index 94e89d6..3b02f75 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ }, "scripts": { "preinstall": "node ./scripts/download.js", + "preupdate": "node ./scripts/download.js", "test": "vows ./test/*.js --spec" }, "dependencies": {