diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 65fcbb1..556cfe7 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -5,9 +5,12 @@ "license": "MIT", "scripts": { "build": "pnpm run build:mud && pnpm run build:abi && pnpm run build:abi-ts", - "build:abi": "rimraf abi && forge build --extra-output-files abi --out abi --skip test script MudTest.sol", - "build:abi-ts": "mud abi-ts --input 'out/IWorld.sol/IWorld.abi.json' && prettier --write '**/*.abi.json.d.ts'", + "build:abi": "forge build", + "build:abi-ts": "mud abi-ts", "build:mud": "mud tablegen && mud worldgen", + "clean": "pnpm run clean:abi && pnpm run clean:mud", + "clean:abi": "forge clean", + "clean:mud": "rimraf src/codegen", "deploy:local": "pnpm run build && mud deploy", "deploy:testnet": "pnpm run build && mud deploy --profile=lattice-testnet", "deploy:arb": "pnpm run build && mud deploy --profile=arbitrum-goerli",