UNPKG

@magicbell/react-headless

Version:
98 lines (97 loc) 2.44 kB
{ "name": "@magicbell/react-headless", "version": "5.5.1", "description": "Hooks to build a notification inbox", "author": "MagicBell <bot@magicbell.io> (https://magicbell.com/)", "contributors": [ "Josue Montano <josuemontanoa@gmail.com>", "Eric Hosick <erichosick@gmail.com>", "Stephan Meijer <stephan.meijer@gmail.com>" ], "license": "SEE LICENSE IN LICENSE", "sideEffects": false, "files": [ "/dist", "/src", "LICENSE" ], "keywords": [ "bell", "magicbell", "notifications", "notification center", "notification inbox", "immer", "zustand", "immutable", "typescript", "react" ], "homepage": "https://www.magicbell.com/docs/libraries", "repository": { "type": "git", "url": "https://github.com/magicbell/magicbell-js.git" }, "scripts": { "clean": "rimraf dist", "build": "run-s clean build:bundle build:replace build:attw", "build:bundle": "tshy", "build:replace": "tsx scripts/post-build.ts", "build:attw": "attw -P", "start": "tshy --watch" }, "tshy": { "project": "./tsconfig.build.json", "exports": "./src/*.ts" }, "devDependencies": { "@faker-js/faker": "^6.3.1", "@size-limit/preset-small-lib": "^11.1.4", "@types/humps": "^2.0.6", "@types/lodash": "^4.14.202", "@types/ramda": "^0.28.0", "@types/rosie": "^0.0.45", "babel-loader": "^8.4.1", "react": "^18.3.1", "react-dom": "^18.3.1", "rosie": "^2.1.1", "sinon": "^13.0.2", "size-limit": "^8.2.6", "twind": "^0.16.19", "utility-types": "^3.10.0" }, "dependencies": { "dayjs": "^1.11.10", "humps": "^2.0.1", "immer": "^10.1.1", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "magicbell": "4.5.1", "mittly": "^3.0.1", "ramda": "^0.28.0", "tiny-invariant": "^1.3.1", "tiny-warning": "^1.0.3", "tslib": "^2.8.0", "zustand": "^5.0.1" }, "peerDependencies": { "react": ">= 18.3.1" }, "type": "module", "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" } }, "./package.json": "./package.json" }, "module": "./dist/esm/index.js", "main": "./dist/commonjs/index.js", "types": "./dist/commonjs/index.d.ts" }