From 949b970723bcf5a4b134392d6815ad6a354c952e Mon Sep 17 00:00:00 2001 From: Raul de Melo Date: Sun, 22 Dec 2019 16:24:48 +0100 Subject: [PATCH] chore(test): build bin file right after install deps Since test script depends from `bin/docsify` and isn't versioned anymore, we do need to build first. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 60664f6..035f6ea 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "release": "standard-version", "prebuild": "rimraf bin", "build": "rollup -c", - "prerelease": "npm run build" + "prerelease": "npm run build", + "postinstall": "npm run build" }, "files": [ "bin",