From 9f568ccfc6fdd0585bb39cab744f4e88e8a97ed3 Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Sun, 27 Oct 2024 09:59:32 +0100 Subject: [PATCH] chore: yarn --- js/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/package.json b/js/package.json index 8512eac..0f3410e 100644 --- a/js/package.json +++ b/js/package.json @@ -14,11 +14,11 @@ "scripts": { "dev": "webpack --mode development --watch", "build": "webpack --mode production", - "analyze": "cross-env ANALYZER=true npm run build", + "analyze": "cross-env ANALYZER=true yarn run build", "format": "prettier --write src", "format-check": "prettier --check src", "clean-typings": "npx rimraf dist-typings && mkdir dist-typings", - "build-typings": "npm run clean-typings && ([ -e src/@types ] && cp -r src/@types dist-typings/@types || true) && tsc && npm run post-build-typings", + "build-typings": "yarn run clean-typings && ([ -e src/@types ] && cp -r src/@types dist-typings/@types || true) && tsc && yarn run post-build-typings", "post-build-typings": "find dist-typings -type f -name '*.d.ts' -print0 | xargs -0 sed -i 's,../src/@types,@types,g'", "check-typings": "tsc --noEmit --emitDeclarationOnly false", "check-typings-coverage": "typescript-coverage-report"