From 4a40d633c4b4a203c6656078f9952ccef65c5875 Mon Sep 17 00:00:00 2001 From: dead-horse Date: Sun, 21 Jun 2020 23:26:06 +0800 Subject: [PATCH] build: use prepare instead of prepublish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 49a86fb56..957213a0b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "bench": "make -C benchmarks", "authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS", "build": "gen-esm-wrapper . ./dist/koa.mjs", - "prepublish": "npm run build" + "prepare": "npm run build" }, "repository": "koajs/koa", "keywords": [