UNPKG

react-use-intercom

Version:

React Intercom integration without the hassle, driven by hooks.

97 lines 2.37 kB
{ "name": "react-use-intercom", "author": "devrnt", "main": "dist/index.cjs", "module": "dist/index.js", "description": "React Intercom integration without the hassle, driven by hooks.", "homepage": "https://github.com/devrnt/react-use-intercom#readme", "version": "5.4.3", "license": "MIT", "types": "dist/index.d.ts", "sideEffects": false, "type": "module", "repository": { "type": "git", "url": "git+https://github.com/devrnt/react-use-intercom.git" }, "bugs": { "url": "https://github.com/devrnt/react-use-intercom/issues" }, "files": [ "dist" ], "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "keywords": [ "react", "reactjs", "intercom", "intercomjs", "react-intercom", "intercom-react", "typescript", "react-hooks", "react-use-intercom", "nextjs", "gatsby" ], "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "size-limit": [ { "path": "./dist/index.cjs", "limit": "3 kB" }, { "path": "./dist/index.js", "limit": "3 kB" } ], "publishConfig": { "registry": "https://registry.npmjs.org" }, "devDependencies": { "@size-limit/preset-small-lib": "^7.0.3", "@testing-library/react": "^14.0.0", "@types/jest": "^27.5.2", "@types/node": "^18.11.19", "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "eslint-plugin-simple-import-sort": "^10.0.0", "jest": "^29.4.1", "jest-environment-jsdom": "^29.4.1", "publint": "^0.3.4", "react": "^18.2.0", "react-dom": "^18.2.0", "react-test-renderer": "^18.2.0", "size-limit": "^7.0.3", "source-map": "0.6.1", "ts-jest": "^29.0.5", "tslib": "^2.8.1", "tsup": "^8.3.6", "typescript": "^5.7.3" }, "scripts": { "dev": "tsup src/index.ts --format esm,cjs --sourcemap --watch --dts --external react", "build": "tsup", "test": "jest test", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src test", "lint:fix": "eslint --fix", "bundlesize": "pnpm build && size-limit", "publint": "publint" } }