@channel-state/react
Version:
React hooks for channel-state, providing seamless integration with React applications for cross-context state management.
77 lines • 1.95 kB
JSON
{
"name": "@channel-state/react",
"version": "0.0.3",
"description": "React hooks for channel-state, providing seamless integration with React applications for cross-context state management.",
"keywords": [
"channel",
"channel-state",
"state",
"state-management",
"react",
"react-hooks",
"use-channel-state",
"typescript",
"event-driven",
"cross-tab",
"cross-window",
"broadcast-channel",
"indexeddb",
"zero-dependency",
"persistence"
],
"homepage": "https://github.com/ronny1020/channel-state",
"bugs": "https://github.com/ronny1020/channel-state/issues",
"repository": {
"type": "git",
"url": "https://github.com/ronny1020/channel-state.git",
"directory": "packages/react"
},
"license": "Apache-2.0",
"author": {
"name": "Ronny",
"email": "ronny1020@gmail.com",
"url": "https://github.com/ronny1020"
},
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"main": "./dist/index.js",
"jsdelivr": "./dist/index.global.js",
"unpkg": "./dist/index.global.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"devDependencies": {
"@testing-library/react": "^16.3.0",
"@types/react": "^18.3.23",
"@types/react-dom": "^18.3.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@channel-state/core": "0.0.3"
},
"peerDependencies": {
"@channel-state/core": "^0.0.3",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup",
"dev": "tsup src/index.ts",
"format": "prettier --write . --config ../../.prettierrc.json",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"test": "vitest",
"test:coverage": "vitest --coverage",
"typecheck": "tsc --noEmit"
}
}