UNPKG

@human-0/posh-sdk

Version:

TypeScript SDK for Proof of Sustainable Humanity (PoSH) identity management

107 lines (106 loc) 2.6 kB
{ "name": "@human-0/posh-sdk", "version": "1.0.5", "description": "TypeScript SDK for Proof of Sustainable Humanity (PoSH) identity management", "private": false, "keywords": [ "posh", "identity", "sustainability", "blockchain", "ethereum", "base", "web3", "typescript" ], "author": "HUMAN-0", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/lstech-solutions/human-0.com.git", "directory": "packages/posh-sdk" }, "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./react": { "import": { "types": "./dist/react/index.d.ts", "default": "./dist/react/index.js" }, "require": { "types": "./dist/react/index.d.cts", "default": "./dist/react/index.cjs" } } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsup", "dev": "tsup --watch", "test": "vitest --run", "test:watch": "vitest", "test:coverage": "vitest --run --coverage", "test:unit": "vitest --run test/unit", "test:integration": "vitest --run test/integration", "test:e2e": "vitest --run test/e2e", "typecheck": "tsc --noEmit", "lint": "eslint src --ext .ts,.tsx", "clean": "rm -rf dist", "prepublishOnly": "npm run clean && npm run build && npm run test", "release:patch": "./scripts/release.sh patch", "release:minor": "./scripts/release.sh minor", "release:major": "./scripts/release.sh major" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "viem": "^2.40.3", "wagmi": "^2.0.0 || ^3.0.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "viem": { "optional": true }, "wagmi": { "optional": true } }, "dependencies": { "@tanstack/react-query": "^5.0.0" }, "devDependencies": { "@types/node": "^20.0.0", "@types/react": "^18.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "@vitest/coverage-v8": "^1.0.0", "eslint": "^8.57.0", "ethers": "^6.0.0", "fast-check": "^3.15.0", "react": "^18.0.0", "tsup": "^8.0.0", "typescript": "^5.3.0", "viem": "^2.40.3", "vitest": "^1.0.0", "wagmi": "^3.0.0" } }