UNPKG

subgraph-sync

Version:

React hooks and components for tracking subgraph synchronization states with Apollo Client

73 lines (72 loc) 1.86 kB
{ "name": "subgraph-sync", "version": "1.0.0", "description": "React hooks and components for tracking subgraph synchronization states with Apollo Client", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "CHANGELOG.md", "LICENSE" ], "scripts": { "build": "rollup -c", "dev": "rollup -c -w", "prepublishOnly": "npm run build && npm test", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:verbose": "jest --verbose" }, "repository": { "type": "git", "url": "https://github.com/yourusername/subgraph-sync.git" }, "bugs": { "url": "https://github.com/yourusername/subgraph-sync/issues" }, "homepage": "https://github.com/yourusername/subgraph-sync#readme", "peerDependencies": { "@apollo/client": "^3.0.0", "graphql": "^15.0.0 || ^16.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "devDependencies": { "@apollo/client": "^3.14.0", "@rollup/plugin-typescript": "^8.3.0", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^14.3.1", "@types/jest": "^30.0.0", "@types/react": "^18.0.0", "graphql": "^16.12.0", "jest": "^30.2.0", "jest-environment-jsdom": "^30.2.0", "react": "^19.2.0", "react-dom": "^19.2.0", "rollup": "^2.60.0", "rollup-plugin-dts": "^4.0.1", "ts-jest": "^29.4.5", "typescript": "^4.5.0" }, "keywords": [ "apollo", "apollo-client", "subgraph", "thegraph", "sync", "synchronization", "blockchain", "ethereum", "web3", "react", "react-hooks", "hooks", "graphql", "indexing", "typescript" ], "author": "Alaa Saleh <photonite.dev@gmail.com> (https://github.com/photonite)", "license": "MIT" }