From f718b14b64df8be492d344ddd35e40961ff750c5 Mon Sep 17 00:00:00 2001 From: Jack Franklin Date: Tue, 9 Feb 2021 11:34:21 +0000 Subject: [PATCH] fix: make publish bot run full build, not just tsc (#6848) `npm run tsc` is not enough to do a full build now we also include the `types.d.ts` file, so we need to run `build.` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4148e129a67..f14da8b902a 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "funit": "PUPPETEER_PRODUCT=firefox npm run unit", "test": "npm run tsc && npm run lint --silent && npm run unit-with-coverage && npm run test-browser", "prepare": "node typescript-if-required.js", - "prepublishOnly": "npm run tsc", + "prepublishOnly": "npm run build", "dev-install": "npm run tsc && node install.js", "install": "node install.js", "eslint": "([ \"$CI\" = true ] && eslint --ext js --ext ts --quiet -f codeframe . || eslint --ext js --ext ts .)",