OpChan/packages/react/package.json
Danish Arora cca6299eb5
feat: library (#26)
* chore: move to /app

* chore: setup workspace

* chore: move lib

* wip

* fix: build and memory leak

* fix: app content hydration for message manager

* fix: non-ens wallets engagement, syncing hydration

* chore: improvements

* chore: IdentityContext

* chore: time range for sds store query to 1 month

* chore: remove client prop

* remove env logs

* wip

* FIX HYDRATION

* fix: message signing

* chore: rename providers

* fix: hydration interface

* state consistentcy

* fix: ens

* chore: minimal docs

* chore: update readme

* local build
2025-09-25 21:52:40 +05:30

44 lines
1.1 KiB
JSON

{
"name": "@opchan/react",
"version": "1.0.2",
"private": false,
"description": "React contexts and hooks for OpChan built on @opchan/core",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.js"
}
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "npm run clean && npm run build:esm && npm run build:types",
"build:esm": "tsc -b --force tsconfig.build.json && cp dist/index.js dist/index.esm.js",
"build:types": "tsc -p tsconfig.types.json",
"clean": "rm -rf dist",
"dev": "tsc -w -p tsconfig.build.json",
"lint": "eslint src --ext .ts,.tsx"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"@opchan/core": "file:../core"
},
"devDependencies": {
"typescript": "^5.5.3",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22"
}
}