UNPKG

@saberhq/sail

Version:

Account caching and batched loading for React-based Solana applications.

108 lines 3.01 kB
{ "name": "@saberhq/sail", "version": "4.1.0", "description": "Account caching and batched loading for React-based Solana applications.", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } }, "keywords": [ "solana", "blockchain", "react", "saber" ], "author": "Ian Macalinao <ian@saber.so>", "homepage": "https://sail.saber.so", "license": "Apache-2.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "files": [ "dist/", "src/" ], "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/saber-hq/sail/issues", "email": "ian@saber.so" }, "repository": { "type": "git", "url": "git+https://github.com/saber-hq/sail.git" }, "scripts": { "build": "tsc && tsc --project tsconfig.cjs.json", "clean": "rm -fr dist/", "lint": "eslint . --cache", "lint:ci": "eslint . --max-warnings=0", "lint:fix": "eslint . --fix", "docs:generate": "typedoc --excludePrivate --includeVersion --out site/ts/ src/index.ts", "prepare": "husky install" }, "devDependencies": { "@project-serum/anchor": "^0.24.2", "@rushstack/eslint-patch": "^1.2.0", "@saberhq/anchor-contrib": "^1.13.30", "@saberhq/eslint-config-react": "^2.0.5", "@saberhq/solana-contrib": "^1.13.30", "@saberhq/token-utils": "^1.13.30", "@saberhq/tsconfig": "^2.0.5", "@saberhq/use-solana": "^1.13.30", "@solana/web3.js": "^1.44.2", "@types/lodash.chunk": "^4.2.7", "@types/lodash.mapvalues": "^4.6.7", "@types/lodash.uniq": "^4.5.7", "@types/lodash.zip": "^4.2.7", "@types/node": "^18.7.23", "@types/react": "^18.0.21", "@types/react-dom": "^18.0.6", "@types/retry": "^0.12.2", "@yarnpkg/doctor": "^4.0.0-rc.9", "bn.js": "^5.2.1", "eslint": "^8.24.0", "husky": "^8.0.1", "jsbi": "^4.3.0", "lint-staged": "^13.0.3", "prettier": "^2.7.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-query": "^3.39.1", "typedoc": "^0.23.15", "typescript": "^4.8.4" }, "dependencies": { "dataloader": "^2.1.0", "eventemitter3": "^4.0.7", "lodash.chunk": "^4.2.0", "lodash.mapvalues": "^4.6.0", "lodash.uniq": "^4.5.0", "lodash.zip": "^4.2.0", "retry": "^0.13.1", "tiny-invariant": "^1.2.0", "tslib": "^2.4.0", "unstated-next": "^1.1.0", "use-debounce": "^8.0.1" }, "peerDependencies": { "@project-serum/anchor": ">=0.24", "@saberhq/anchor-contrib": "^1.13", "@saberhq/solana-contrib": "^1.13", "@saberhq/token-utils": "^1.13", "@saberhq/use-solana": "^1.13", "@solana/web3.js": "^1.44.2", "bn.js": "^5.2.1", "jsbi": "^3 || ^4", "react": "^18", "react-dom": "^18", "react-query": "^3" }, "packageManager": "yarn@4.0.0-rc.22", "lint-staged": { "*.{ts,tsx}": "eslint --cache --fix", "*.{json,js,jsx,html,css,md,yml,yaml}": "prettier --write" } }