UNPKG

react-ga

Version:
89 lines (88 loc) 2.95 kB
{ "name": "react-ga", "version": "3.3.1", "description": "React Google Analytics Module", "main": "dist/react-ga.js", "module": "dist/esm/index.js", "scripts": { "start": "webpack-dev-server --config demo/webpack.config.js --hot --inline", "test": "cross-env BABEL_ENV=test jest --env=jsdom --coverage", "test:watch": "cross-env BABEL_ENV=test jest --env=jsdom --watch", "test:types": "tsc -p ./types/tsconfig.json", "build": "npm run build:umd && npm run build:esm", "build:esm": "cross-env BABEL_ENV=esm babel src --out-dir dist/esm", "build:umd": "cross-env BABEL_ENV=umd webpack --mode=production", "lint": "eslint ./src/**/*.js ./src/*.js ./*.js ./test/**/*.{js,jsx} ./test/*.js ./demo/**/*.{js,jsx} ./demo/*.{js,jsx} --ext .js,.jsx", "prepare": "husky install", "prettier": "prettier --write demo/**/* src/**/* test/**/* types/**/* *.js *.ts", "preversion": "npm test && npm run lint", "version": "node ./version-bower.js && npm run build && git add -A bower.json" }, "types": "./types/index.d.ts", "repository": { "type": "git", "url": "git@github.com:react-ga/react-ga" }, "keywords": [ "React", "GA", "Google Analytics", "Universal Analytics" ], "author": "@adamlofting", "contributors": [ "@toolness" ], "license": "Apache-2.0", "bugs": { "url": "https://github.com/react-ga/react-ga/issues" }, "homepage": "https://github.com/react-ga/react-ga", "peerDependencies": { "prop-types": "^15.6.0", "react": "^15.6.2 || ^16.0 || ^17 || ^18" }, "devDependencies": { "@babel/cli": "7.17.10", "@babel/core": "7.18.5", "@babel/eslint-parser": "7.18.2", "@babel/plugin-proposal-class-properties": "7.17.12", "@babel/preset-env": "7.18.2", "@babel/preset-flow": "^7.17.12", "@babel/preset-react": "^7.17.12", "@babel/register": "7.17.7", "@commitlint/cli": "17.0.2", "@commitlint/config-conventional": "17.0.2", "@types/react": "18.0.12", "babel-jest": "26.0.1", "babel-loader": "8.2.5", "conventional-changelog-cli": "2.2.2", "cross-env": "7.0.3", "enzyme": "3.11.0", "enzyme-adapter-react-16": "1.15.6", "eslint": "8.17.0", "eslint-config-airbnb": "19.0.4", "eslint-config-prettier": "8.5.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-jest": "26.5.3", "eslint-plugin-jsx-a11y": "6.5.1", "eslint-plugin-prettier": "4.0.0", "eslint-plugin-react": "7.30.0", "fs-extra": "10.1.0", "html-webpack-plugin": "3.2.0", "husky": "8.0.1", "jest": "26.0.1", "lint-staged": "13.0.1", "prettier": "2.7.0", "prop-types": "15.7.2", "react": "16.14", "react-dom": "16.14", "react-router": "5.2.0", "react-router-dom": "5.2.0", "terser-webpack-plugin": "1.4.1", "typescript": "4.7.3", "webpack": "4.46.0", "webpack-cli": "3.3.9", "webpack-dev-server": "3.8.2" } }