UNPKG

react-analytics-tracker

Version:

react-analytics-tracker is a React component for tracking user interactions and events on your web application. This component captures click and view events, collects various data points, and reports them to a specified endpoint.

75 lines (74 loc) 2.4 kB
{ "name": "react-analytics-tracker", "version": "1.0.5", "description": "react-analytics-tracker is a React component for tracking user interactions and events on your web application. This component captures click and view events, collects various data points, and reports them to a specified endpoint.", "private": false, "main": "dist/index.js", "module": "dist/index.es.js", "types": "dist/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build-lib": "rimraf dist && rollup -c", "link": "npm cache clean --force && npm i && npm run build-lib && npm link", "publish": "npm cache clean --force && npm i && npm run build-lib && npm publish", "unlink": "npm unlink -g react-analytics-tracker", "relink": "npm run unlink && npm run link" }, "repository": { "type": "git", "url": "git+https://github.com/indranil6/react-analytics-tracker.git" }, "keywords": [ "react", "analytics", "tracking", "hoc", "component", "react-tracker", "react-analytics", "tracker", "event-tracking", "click-tracking", "user-interactions", "custom-events", "analytics-hoc", "analytics-context", "viewport-visibility", "web-analytics", "analytics-dashboard", "data-visualization" ], "author": "Indranil Kundu <indranilkundu6@gmail.com>", "bugs": { "url": "https://github.com/indranil6/react-analytics-tracker/issues" }, "homepage": "https://github.com/indranil6/react-analytics-tracker#readme", "license": "MIT", "devDependencies": { "@babel/core": "^7.12.10", "@babel/preset-react": "^7.12.10", "@babel/preset-typescript": "^7.14.5", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-commonjs": "^26.0.1", "@rollup/plugin-node-resolve": "^11.1.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/react": "^17.0.19", "@types/react-dom": "^17.0.9", "babel-loader": "^8.2.2", "prop-types": "^15.8.1", "react": "^17.0.1", "react-dom": "^17.0.1", "rimraf": "^5.0.7", "rollup": "^2.38.4", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.0", "tslib": "^2.6.3", "typescript": "^5.5.3" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }