UNPKG

@loopkit/react

Version:

React TypeScript wrapper for @loopkit/javascript with built-in auto-tracking and comprehensive TypeScript support

88 lines 2.69 kB
{ "name": "@loopkit/react", "version": "1.1.10", "description": "React TypeScript wrapper for @loopkit/javascript with built-in auto-tracking and comprehensive TypeScript support", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.esm.js", "require": "./dist/index.js" } }, "sideEffects": false, "files": [ "dist", "README.md" ], "scripts": { "build": "rollup -c", "build:watch": "rollup -c -w", "test": "jest", "test:watch": "jest --watch", "type-check": "tsc --noEmit", "lint": "eslint src --ext .ts,.tsx", "lint:fix": "eslint src --ext .ts,.tsx --fix", "prepublishOnly": "npm run build" }, "keywords": [ "react", "typescript", "loopkit", "analytics", "tracking", "sdk", "event-tracking", "user-analytics", "auto-tracking", "click-tracking", "page-view-tracking", "error-tracking" ], "author": "LoopKit", "license": "MIT", "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "dependencies": { "@loopkit/javascript": "^1.1.5" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-typescript": "^11.0.0", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.0", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "@types/testing-library__jest-dom": "^6.0.0", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.40.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^4.6.2", "jest": "^29.5.0", "jest-environment-jsdom": "^30.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rollup": "^3.20.0", "rollup-plugin-dts": "^5.3.0", "ts-jest": "^29.1.0", "tslib": "^2.8.1", "typescript": "^5.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/loopkitai/reactjs-sdk.git" }, "bugs": { "url": "https://github.com/loopkitai/reactjs-sdk/issues" }, "homepage": "https://github.com/loopkitai/reactjs-sdk#readme" }