UNPKG

bigblocks

Version:

Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React

223 lines (222 loc) 6.93 kB
{ "name": "bigblocks", "version": "0.0.39", "description": "Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React", "keywords": [ "bitcoin", "bsv", "authentication", "social", "react", "components", "blockchain", "web3", "decentralized", "social-media", "messaging", "shadcn" ], "homepage": "https://github.com/b-open-io/bigblocks", "repository": { "type": "git", "url": "https://github.com/b-open-io/bigblocks.git" }, "bugs": { "url": "https://github.com/b-open-io/bigblocks/issues" }, "license": "MIT", "author": { "name": "1Sat", "email": "support@1sat.com" }, "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./components/*": { "import": "./dist/components/*.js", "types": "./dist/components/*.d.ts" }, "./hooks/*": { "import": "./dist/hooks/*.js", "types": "./dist/hooks/*.d.ts" }, "./types": { "import": "./dist/types.js", "types": "./dist/types.d.ts" }, "./bSocial": { "import": "./dist/bSocial/index.js", "types": "./dist/bSocial/index.d.ts" }, "./bSocial/*": { "import": "./dist/bSocial/*.js", "types": "./dist/bSocial/*.d.ts" }, "./market": { "import": "./dist/market/index.js", "types": "./dist/market/index.d.ts" }, "./market/*": { "import": "./dist/market/*.js", "types": "./dist/market/*.d.ts" }, "./wallet": { "import": "./dist/wallet/index.js", "types": "./dist/wallet/index.d.ts" }, "./wallet/*": { "import": "./dist/wallet/*.js", "types": "./dist/wallet/*.d.ts" }, "./express": { "import": "./dist/src/lib/adapters/express.js", "types": "./dist/src/lib/adapters/express.d.ts" }, "./nextjs": { "import": "./dist/src/lib/adapters/nextjs.js", "types": "./dist/src/lib/adapters/nextjs.d.ts" }, "./astro": { "import": "./dist/src/lib/adapters/astro.js", "types": "./dist/src/lib/adapters/astro.d.ts" } }, "bin": { "bigblocks": "./dist/cli/bigblocks.js" }, "files": [ "dist", "dist-registry", "README.md" ], "scripts": { "build": "tsc && bun run post-build", "post-build": "node scripts/post-build.js && bun run build-dist-registry && chmod +x dist/cli/bigblocks.js", "build-dist-registry": "bun scripts/build-registry-for-dist.ts", "dev": "tsc --watch", "test": "bun test", "lint": "biome check .", "lint:fix": "biome check --write ./src ./cli", "lint:unsafe": "biome check --write --unsafe ./src ./cli", "type-check": "tsc --noEmit", "prepublishOnly": "bun run pre-publish", "pre-publish": "bun run clean && bun run build && bun run type-check && bun run check-branch", "check-branch": "test $(git rev-parse --abbrev-ref HEAD) = 'master' || (echo 'Error: Must be on master branch to publish' && exit 1)", "clean": "rm -rf dist", "analyze": "bun run build && bunx vite-bundle-visualizer --open", "build-registry": "bun run scripts/build-registry.ts", "test:components": "./tests/run-component-tests.sh", "test:components:ui": "cd tests && bunx vite", "test:playwright": "bunx playwright test tests/components/*.spec.ts", "test:screenshots": "bunx playwright test tests/screenshot-*.spec.ts", "test:screenshots:components": "bunx playwright test tests/screenshot-components.spec.ts", "test:screenshots:themes": "bunx playwright test tests/screenshot-themes.spec.ts", "test:screenshots:tweakcn": "bunx playwright test tests/screenshot-tweakcn-themes.spec.ts" }, "peerDependencies": { "@bsv/sdk": "^1.6.0", "@tanstack/react-query": "latest", "bitcoin-auth": "^0.0.4", "bitcoin-backup": "^0.0.2", "bsv-bap": "^0.1.11", "js-1sat-ord": "latest", "qrious": "latest", "react": "^19.1.0", "react-dom": "^19.1.0", "sigma-protocol": "latest" }, "peerDependenciesMeta": { "@tanstack/react-query": { "optional": true }, "js-1sat-ord": { "optional": true }, "qrious": { "optional": true }, "sigma-protocol": { "optional": true } }, "dependencies": { "@radix-ui/react-alert-dialog": "^1.1.14", "@radix-ui/react-avatar": "^1.1.10", "@radix-ui/react-checkbox": "^1.3.2", "@radix-ui/react-collapsible": "^1.1.11", "@radix-ui/react-dialog": "^1.1.14", "@radix-ui/react-dropdown-menu": "^2.1.15", "@radix-ui/react-form": "^0.1.7", "@radix-ui/react-hover-card": "^1.1.14", "@radix-ui/react-icons": "^1.3.2", "@radix-ui/react-label": "^2.1.7", "@radix-ui/react-popover": "^1.1.14", "@radix-ui/react-portal": "^1.1.9", "@radix-ui/react-progress": "^1.1.7", "@radix-ui/react-scroll-area": "^1.2.9", "@radix-ui/react-select": "^2.2.5", "@radix-ui/react-separator": "^1.1.7", "@radix-ui/react-slot": "^1.2.3", "@radix-ui/react-switch": "^1.2.5", "@radix-ui/react-tabs": "^1.1.12", "@radix-ui/react-toast": "^1.2.14", "@radix-ui/react-tooltip": "^1.2.7", "@radix-ui/react-visually-hidden": "^1.2.3", "bitcoin-image": "^0.0.2", "bmap-api-types": "^0.0.9", "chalk": "^5.4.1", "color-convert": "^3.1.0", "commander": "^14.0.0", "image-meta": "^0.2.1", "lucide-react": "^0.514.0", "ora": "^8.2.0", "prompts": "^2.4.2", "react-qrcode-logo": "^3.0.0", "rehype-pretty-code": "^0.14.1", "satoshi-token": "^0.0.4", "shiki": "^3.6.0", "tsconfig-paths": "^4.2.0", "zod": "^3.25.64" }, "devDependencies": { "@biomejs/biome": "^1.9.4", "@eslint/js": "^9.28.0", "@happy-dom/global-registrator": "^17.6.3", "@playwright/test": "^1.53.0", "@tanstack/react-query": "latest", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/bun": "^1.2.16", "@types/color-convert": "^2.0.4", "@types/node": "^22.15.31", "@types/prompts": "^2.4.9", "@types/react": "19.1.6", "@types/react-dom": "19.1.6", "@typescript-eslint/eslint-plugin": "^8.34.0", "@typescript-eslint/parser": "^8.34.0", "autoprefixer": "^10.4.21", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "eslint": "^9.28.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "js-1sat-ord": "^0.1.82", "postcss": "^8.5.5", "qrious": "^4.0.2", "sigma-protocol": "^0.0.5", "tailwind-merge": "^3.3.1", "tailwindcss": "^4.1.10", "typescript": "^5.8.3" }, "publishConfig": { "access": "public" } }