@talismn/api-react-hooks
Version:
A set of react hooks to use the @talismn/api.
83 lines • 2.18 kB
JSON
{
"name": "@talismn/api-react-hooks",
"version": "0.0.25",
"description": "A set of react hooks to use the @talismn/api.",
"main": "./src/index.ts",
"types": "./dist/index.d.ts",
"browser": "./dist/index.js",
"exports": "./dist/index.js",
"scripts": {
"prepare": "husky install",
"pre-commit": "lint-staged",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon --watch src --ext js,ts --exec yarn prepack",
"build": "esbuild-node-tsc",
"build:types": "tsc --emitDeclarationOnly",
"prepack": "yarn build && yarn build:types"
},
"author": "Talisman",
"license": "GPL-3.0-only",
"peerDependencies": {
"@polkadot/api": "*",
"@polkadot/keyring": "*",
"@polkadot/types": "*",
"@polkadot/util-crypto": "*",
"react": ">=17"
},
"dependencies": {
"@talismn/api": "~0",
"@talismn/chaindata-js": "~0",
"@talismn/util": "~0"
},
"devDependencies": {
"@polkadot/api": "^6.2.1",
"@polkadot/keyring": "^7.4.1",
"@polkadot/types": "^6.2.1",
"@polkadot/util-crypto": "^7.4.1",
"@types/react": "^17.0.2",
"esbuild-node-tsc": "^1.6.1",
"husky": "^6.0.0",
"import-sort-style-module": "^6.0.0",
"lint-staged": "^11.1.2",
"nodemon": "^2.0.12",
"prettier": "^2.3.2",
"prettier-plugin-import-sort": "^0.0.7",
"react": "^17.0.2",
"typescript": "^4.3.5"
},
"files": [
"dist/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/TalismanSociety/api-react-hooks.git"
},
"keywords": [
"talisman",
"react",
"hooks",
"polkadot",
"substrate"
],
"bugs": {
"url": "https://github.com/TalismanSociety/api-react-hooks/issues"
},
"homepage": "https://github.com/TalismanSociety/api-react-hooks#readme",
"packageManager": "yarn@3.0.1",
"lint-staged": {
"*.{ts,tsx,js,jsx,html,css,scss}": "prettier --write"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"quoteProps": "consistent",
"semi": false,
"singleQuote": true
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
}
}