From 9c70e75e45f2be2eb93d1ccd9024badbeb823a4a Mon Sep 17 00:00:00 2001 From: Alberto Cevallos Date: Tue, 12 Dec 2023 14:32:19 -0600 Subject: [PATCH] fix: update scripts --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8e5c481..585a20a 100644 --- a/package.json +++ b/package.json @@ -11,12 +11,15 @@ "source": "src/index.ts", "types": "dist/types.d.ts", "scripts": { - "build": "pnpm clean && pnpm codegen && pnpm parcel build --no-cache", + "build": "pnpm clean && pnpm generate && pnpm parcel build --no-cache", "ci:release": "pnpm build && pnpm changeset publish", "clean": "rm -rf ./dist", "codegen": "rm -rf ./src/lib/codegen && wagmi generate && npx buf generate", "format": "prettier --write \"**/*.{ts,tsx,md,json}\"", "gen-docs": "typedoc", + "generate": "rm -rf ./src/lib/codegen && pnpm generate:wagmi && pnpm generate:grpc", + "generate:grpc": "npx buf generate", + "generate:wagmi": "wagmi generate", "lint": "eslint .", "lint:fix": "eslint . --fix", "prepare": "git submodule update --init --recursive && pnpm codegen",