From 4fe2cdf8304f100448f106c251e6f935c354b7da Mon Sep 17 00:00:00 2001 From: wfalcon0x <> Date: Wed, 28 Jun 2023 11:38:40 +0100 Subject: [PATCH] Fix npm run commands associated to testnet and mainnet --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8d1c315..5759e93 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,10 @@ "dev:local": "concurrently \"npm run flow:emulator\" \"npm run flow:dev-wallet\" \"npm run dev:local:flow\"", "dev:local:flow": "npm run dev-wait && npm run flow:dev", "dev:local:deploy": "flow project deploy --network=emulator --update && cross-env NEXT_PUBLIC_FLOW_NETWORK=local npm run dev", - "dev:testnet": "cross-env NEXT_PUBLIC_FLOW_NETWORK=testnet npm run dev", - "dev:testnet:deploy": "flow project deploy --network=testnet --update && cross-env NEXT_PUBLIC_FLOW_NETWORK=testnet npm run dev", + "dev:testnet": "cross-env NEXT_PUBLIC_FLOW_NETWORK=testnet next dev", + "dev:testnet:deploy": "flow project deploy --network=testnet --update && cross-env NEXT_PUBLIC_FLOW_NETWORK=testnet next dev", "dev:testnet:update": "flow project deploy --network=testnet --update --show-diff", - "dev:mainnet": "cross-env NEXT_PUBLIC_FLOW_NETWORK=mainnet npm run dev", + "dev:mainnet": "cross-env NEXT_PUBLIC_FLOW_NETWORK=mainnet next dev", "flow:dev": "flow dev", "flow:emulator": "flow emulator", "flow:dev-wallet": "flow dev-wallet",