react-reward-button
Version:
Drop-in React component that sends Ethereum token rewards and shows confetti animations. Built with wagmi, ethers, and ShadCN UI.
112 lines (111 loc) • 2.98 kB
JSON
{
"name": "react-reward-button",
"version": "2.0.3",
"description": "Drop-in React component that sends Ethereum token rewards and shows confetti animations. Built with wagmi, ethers, and ShadCN UI.",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.js"
}
},
"sideEffects": false,
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --watchAll=false",
"lint": "eslint src/**/*.{ts,tsx}",
"lint:fix": "eslint src/**/*.{ts,tsx} --fix",
"prepare": "npm run build",
"example": "cd examples && npm start"
},
"keywords": [
"react",
"web3",
"ethereum",
"ethers",
"wagmi",
"shadcn",
"reward",
"airdrop",
"button",
"token",
"crypto",
"component",
"confetti",
"blockchain",
"chatgpt",
"cursor",
"openai"
],
"author": "Varun Gulati",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/varungulati/react-reward-button.git"
},
"bugs": {
"url": "https://github.com/varungulati/react-reward-button/issues"
},
"homepage": "https://react-reward-button-demo.fly.dev/",
"peerDependencies": {
"@reown/appkit": "^1.0.0",
"@reown/appkit-adapter-wagmi": "^1.0.0",
"@tanstack/react-query": "^5.0.0",
"ethers": "^6.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"wagmi": "^2.15.6"
},
"dependencies": {
"@radix-ui/react-slot": "^1.0.2",
"clsx": "^2.0.0"
},
"devDependencies": {
"@reown/appkit": "^1.7.15",
"@reown/appkit-adapter-wagmi": "^1.7.15",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-typescript": "^11.1.3",
"@tanstack/react-query": "^5.83.0",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"eslint": "^8.48.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"ethers": "^6.15.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.6.4",
"jest-environment-jsdom": "^29.6.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.28.1",
"rollup-plugin-dts": "^6.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"wagmi": "^2.15.6"
},
"engines": {
"node": ">=18",
"npm": ">=9"
}
}