diff --git a/package.json b/package.json index 8d5e7f086..f413e33e3 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "lint": "pnpm run prettier:check && pnpm run eslint:check && pnpm run cspell:check && pnpm run typescript:check", "lint:fix": "pnpm run prettier:fix && pnpm run eslint:fix && pnpm run cspell:check && pnpm run typescript:check", "postinstall": "tsx scripts/build-bin.mts", - "prepublishOnly": "rm -rf dist; tsc --declaration --emitDeclarationOnly --noEmit false -p tsconfig.json --outDir dist; rm -rf dist/scripts; mv dist/src/* dist; rm -rf dist/src; cp src/*.d.ts dist; tsx scripts/create-import-wrappers.mts", - "postpublish": "rm -rf *.d.ts; rm -rf dist; npm run build", + "prepublishOnly": "rm -rf dist && tsc --declaration --emitDeclarationOnly --noEmit false -p tsconfig.json --outDir dist && rm -rf dist/scripts && mv dist/src/* dist && rm -rf dist/src && cp src/*.d.ts dist && tsx scripts/create-import-wrappers.mts", + "postpublish": "rm -rf *.d.ts && rm -rf dist && npm run build", "release": "np", "docs": "typedoc src/renderer/replugged.ts --excludeExternals", "docs:watch": "pnpm run docs --watch"