From c173f8f1ac111c27cd6e8cb446c5d38187f675f4 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Fri, 15 Oct 2021 11:03:21 +0530 Subject: chore: enforce pnpm as the executable. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 3c91661..3f9f841 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "doc": "docs" }, "scripts": { - "prepare": "npx husky install", + "preinstall": "npx only-allow pnpm", + "prepare": "pnpm dlx husky install", "package": "node scripts/package.js", "create": "node scripts/create.js", "lint": "eslint . --fix", -- cgit v1.2.3-54-g00ecf