From 4f6fe914d0618952416b62a5062b2a7db1ead812 Mon Sep 17 00:00:00 2001 From: Yejia Chen Date: Tue, 6 Sep 2022 17:37:59 -0400 Subject: [PATCH] Run yarn install in prepack script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b0b3311c1a..184ca78368 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "scripts": { "build": "tsc -p tsconfig.json", "clean": "rm -rf ./.nyc_output ./node_modules/.cache ./coverage ./lib", - "prepack": "yarn build", + "prepack": "yarn install && yarn build", "mocha": "nyc mocha --config=test/.mocharc.js", "mocha-only": "mocha --config=test/.mocharc.js", "test": "yarn build && yarn test-typescript && yarn mocha",