Run this command to install all dependencies:
pnpm installThe following dependencies will be installed:
@types/react- React type definitions@types/react-dom- React DOM type definitionstypescript- TypeScript compilervite- Build toolvite-plugin-dts- TypeScript declaration file generatorreact- React library (for development)react-dom- React DOM library (for development)
react^17.0.0 || ^18.0.0react-dom^17.0.0 || ^18.0.0
ethers^5.0.0 || ^6.0.0wagmi^1.0.0 || ^2.0.0
After installation, you can:
# Build the package
pnpm run build
# Watch mode for development
pnpm run dev
# Type check without building
pnpm run type-checkThis means dependencies haven't been installed yet. Run:
pnpm install- Delete
node_modulesandpnpm-lock.yaml - Run
pnpm installagain - Run
pnpm run build
Make sure you have TypeScript installed globally or in the project:
pnpm add -D typescriptOnce setup is complete:
- ✅ Dependencies installed
- ✅ Build successful
- 📦 Ready to publish or use locally
See README.md for usage examples.