From d4c5a4b3a12b65c780329fa43ae1e3c178cae0cb Mon Sep 17 00:00:00 2001 From: roushou Date: Sat, 22 Jun 2024 18:16:48 +0700 Subject: [PATCH] chore(examples): add `clean` and `typecheck` scripts --- examples/onchain_list-address-transactions/package.json | 4 ++++ examples/onchain_list-balance-details/package.json | 4 ++++ examples/onchain_list-balance-histories/package.json | 4 ++++ examples/onchain_list-balances/package.json | 4 ++++ examples/onchain_rpc-client/package.json | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/examples/onchain_list-address-transactions/package.json b/examples/onchain_list-address-transactions/package.json index 8daeb04..299999d 100644 --- a/examples/onchain_list-address-transactions/package.json +++ b/examples/onchain_list-address-transactions/package.json @@ -3,6 +3,10 @@ "private": true, "module": "index.ts", "type": "module", + "scripts": { + "clean": "rimraf ./node_modules", + "typecheck": "tsc --noEmit" + }, "dependencies": { "@coinbase-platform/onchain": "workspace:*" }, diff --git a/examples/onchain_list-balance-details/package.json b/examples/onchain_list-balance-details/package.json index 38ea8e3..d97496a 100644 --- a/examples/onchain_list-balance-details/package.json +++ b/examples/onchain_list-balance-details/package.json @@ -3,6 +3,10 @@ "private": true, "module": "index.ts", "type": "module", + "scripts": { + "clean": "rimraf ./node_modules", + "typecheck": "tsc --noEmit" + }, "dependencies": { "@coinbase-platform/onchain": "workspace:*" }, diff --git a/examples/onchain_list-balance-histories/package.json b/examples/onchain_list-balance-histories/package.json index c084a85..99a7d86 100644 --- a/examples/onchain_list-balance-histories/package.json +++ b/examples/onchain_list-balance-histories/package.json @@ -3,6 +3,10 @@ "private": true, "module": "index.ts", "type": "module", + "scripts": { + "clean": "rimraf ./node_modules", + "typecheck": "tsc --noEmit" + }, "dependencies": { "@coinbase-platform/onchain": "workspace:*" }, diff --git a/examples/onchain_list-balances/package.json b/examples/onchain_list-balances/package.json index fa4d5fb..fa53b36 100644 --- a/examples/onchain_list-balances/package.json +++ b/examples/onchain_list-balances/package.json @@ -3,6 +3,10 @@ "private": true, "module": "index.ts", "type": "module", + "scripts": { + "clean": "rimraf ./node_modules", + "typecheck": "tsc --noEmit" + }, "dependencies": { "@coinbase-platform/onchain": "workspace:*" }, diff --git a/examples/onchain_rpc-client/package.json b/examples/onchain_rpc-client/package.json index 82254d4..04eab2c 100644 --- a/examples/onchain_rpc-client/package.json +++ b/examples/onchain_rpc-client/package.json @@ -3,6 +3,10 @@ "private": true, "module": "index.ts", "type": "module", + "scripts": { + "clean": "rimraf ./node_modules", + "typecheck": "tsc --noEmit" + }, "dependencies": { "@coinbase-platform/onchain": "workspace:*" },