UNPKG

@gear-js/react-hooks

Version:
59 lines (58 loc) 1.54 kB
{ "name": "@gear-js/react-hooks", "version": "0.17.0", "description": "React hooks used across Gear applications", "author": "Gear Technologies", "license": "GPL-3.0", "bugs": { "url": "https://github.com/gear-tech/gear-js/issues" }, "repository": { "type": "git", "url": "git+https://github.com/gear-tech/gear-js.git" }, "keywords": [ "gear", "gear-js" ], "homepage": "https://github.com/gear-tech/gear-js/tree/master/utils/gear-hooks#readme", "scripts": { "build": "rm -rf dist && npx vite build", "prepare": "yarn build", "clean": "echo \"clean @gear-js/react-hooks\" && rm -rf dist" }, "peerDependencies": { "@gear-js/api": "0.42.0", "@polkadot/api": "16.4.1", "@tanstack/react-query": "^5.56.2", "react": "^18 || ^19", "react-dom": "^18 || ^19", "sails-js": "0.4.2" }, "dependencies": { "@polkadot/api-derive": "16.4.1", "@polkadot/extension-inject": "0.61.3", "@polkadot/util": "13.5.3", "@substrate/connect": "2.1.0", "bignumber.js": "9.1.2", "nanoid": "5.0.1", "react-transition-group": "4.4.5", "sails-js-parser": "0.4.2" }, "devDependencies": { "@gear-js/api": "0.42.0", "@gear-js/frontend-configs": "*", "@polkadot/api": "16.4.1", "@polkadot/types": "16.4.1", "@tanstack/react-query": "5.56.2", "react": "19.0.0", "react-dom": "19.0.0", "sails-js": "0.4.2" }, "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "type": "module" }