{ "name": "@waku/react", "version": "0.0.5", "description": "React hooks and components to use js-waku", "type": "module", "main": "dist/index.cjs.js", "module": "dist/index.esm.mjs", "umd:main": "dist/index.umd.js", "unpkg": "dist/index.umd.js", "source": "src/index.ts", "types": "dist/src/index.d.ts", "sideEffects": false, "files": [ "dist", "CHANGELOG.md", "LICENSE", "README.md" ], "exports": { ".": { "types": "./dist/src/index.d.ts", "import": "./dist/index.esm.mjs", "require": "./dist/index.cjs.js" } }, "homepage": "https://github.com/waku-org/waku-ui", "repository": { "type": "git", "url": "https://github.com/waku-org/waku-ui.git" }, "bugs": { "url": "https://github.com/waku-org/waku-ui/issues" }, "license": "MIT OR Apache-2.0", "keywords": [ "waku", "decentralised", "communication", "web3", "ethereum", "dapps", "react" ], "scripts": { "prebuild": "rimraf dist", "build": "rollup -c ./rollup.config.js", "fix": "npm run lint:fix && npm run prettier:fix", "lint": "eslint '**/*.{js,ts,tsx}'", "lint:fix": "npm run lint -- --fix", "prettier:fix": "prettier --config .prettierrc --write \"**/*.{js,ts,tsx}\"", "type": "tsc --noEmit", "test": "jest --config ./jest.config.js", "test:coverage": "npm run test -- --coverage", "bundlewatch": "npm run build && bundlewatch", "prepublish": "npm run fix && npm run type && npm run build", "prepare": "husky install" }, "engines": { "node": ">=18" }, "devDependencies": { "@rollup/plugin-commonjs": "^24.0.1", "@swc/jest": "^0.2.24", "@testing-library/jest-dom": "^5.16.5", "@types/jest": "^29.4.0", "@types/react": "^18.0.28", "@types/testing-library__jest-dom": "^5.14.5", "@typescript-eslint/eslint-plugin": "^5.52.0", "bundlewatch": "^0.3.3", "eslint": "^8.34.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-simple-import-sort": "^10.0.0", "husky": "^8.0.0", "jest": "^29.4.3", "jest-environment-jsdom": "^29.4.3", "jest-watch-typeahead": "^2.2.2", "prettier": "^2.8.4", "rimraf": "^4.1.2", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.34.1", "typescript": "^4.9.5" }, "peerDependencies": { "@waku/sdk": "^0.0.20", "@waku/interfaces": "^0.0.19", "react": "^16.8.0 || ^17 || ^18" }, "peerDependenciesMeta": { "@waku/interfaces": { "optional": true } }, "bundlewatch": { "files": [ { "path": "./dist/index.cjs.js", "maxSize": "4 kB" } ] }, "lint-staged": { "*.{js,ts,tsx}": [ "npm run fix" ], "*.{md,json,yml}": [ "prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }