From 3c073eb8369c7b38192eaee22bb92b822aa4aaf3 Mon Sep 17 00:00:00 2001 From: hubvue Date: Mon, 18 Apr 2022 01:07:34 +0800 Subject: [PATCH] chore: update --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ba9bf91..60f34f3 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ }, "scripts": { "cargo:build": "cargo build --release", - "release:npm": "bumpp package.json --commit --push --tag" + "release:npm": "bumpp package.json --commit --push --tag", + "preuninstall": "node ./bin/index.js clean" }, "repository": { "type": "git", @@ -20,7 +21,8 @@ "manager" ], "files": [ - "lib" + "bin", + "bin/camer" ], "author": "hubvue", "license": "MIT",