UNPKG

@micro-stacks/react

Version:

Opinionated React integration for micro-stacks.

86 lines 2.5 kB
{ "name": "@micro-stacks/react", "private": false, "publishConfig": { "access": "public" }, "version": "1.0.9", "description": "Opinionated React integration for micro-stacks.", "files": [ "dist" ], "types": "./dist/index.d.ts", "main": "./dist/index.js", "module": "./dist/index.mjs", "import": "./dist/index.mjs", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "main": "./dist/index.js", "module": "./dist/index.mjs", "import": "./dist/index.mjs" }, "./*": { "types": "./dist/*.d.ts", "require": "./dist/*.js", "main": "./dist/*.js", "module": "./dist/*.mjs", "import": "./dist/*.mjs" } }, "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/aulneau/micro-stacks.git" }, "keywords": [ "stacks", "web3", "small-bundle" ], "author": "Thomas Osmonson", "contributors": [], "license": "MIT", "bugs": { "url": "https://github.com/fungible-systems/micro-stacks-react/issues" }, "homepage": "https://github.com/fungible-systems/micro-stacks", "devDependencies": { "@stacks/stacks-blockchain-api-types": "4.1.2", "@types/common-tags": "1.8.1", "@types/jsdom": "20.0.0", "@types/randombytes": "2.0.0", "@types/react": "18.0.18", "@types/react-dom": "18.0.6", "@types/use-sync-external-store": "0.0.3", "react": ">=18.2.0", "react-dom": ">=18.2.0", "tsup": "6.2.3", "typescript": "4.8.2" }, "dependencies": { "react-async-hook": "^4.0.0", "use-sync-external-store": "^1.2.0", "@micro-stacks/client": "1.2.1", "micro-stacks": "1.2.1" }, "peerDependencies": { "react": ">=17.0.0", "react-dom": ">=17.0.0" }, "scripts": { "build": "tsup src/index.ts", "typecheck": "tsc --noEmit --target esnext", "dev:publish": "yalc publish --push", "dev:build": "pnpm build && yalc publish --push", "publish:beta": "pnpm publish --tag beta", "lint": "pnpm lint:eslint && pnpm lint:prettier", "lint:eslint": "eslint \"src/**/*.{ts,tsx}\"", "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix", "lint:prettier": "prettier --check \"src/**/*.{ts,tsx}\" *.js", "lint:prettier:fix": "prettier --write \"src/**/*.{ts,tsx}\"", "ci:publish": "pnpm publish --no-git-checks --access public", "ci:version": "pnpm changeset version && pnpm install --no-frozen-lockfile && git add ." } }