UNPKG

react-metrics

Version:

An analytics library for React.js

128 lines (127 loc) 3.7 kB
{ "name": "react-metrics", "description": "An analytics library for React.js", "version": "2.4.1", "main": "lib/index.js", "contributors": [ { "name": "NFL Engineering" } ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/nfl/react-metrics" }, "keywords": [ "react-metrics", "nfl", "react", "metrics", "analytics", "tracking" ], "bugs": { "url": "https://github.com/nfl/react-metrics/issues" }, "files": [ "*.md", "docs", "src", "lib", "dist" ], "dependencies": { "deep-equal": "^1.0.1", "eventemitter3": "^1.1.1", "fbjs": "^0.8.4", "hoist-non-react-statics": "^1.0.5", "querystring": "^0.2.0", "rimraf": "^2.5.1" }, "devDependencies": { "analytics.js": "^2.9.1", "babel-cli": "^6.5.1", "babel-core": "^6.5.1", "babel-eslint": "^7.2.3", "babel-loader": "^6.2.3", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-polyfill": "^6.7.4", "babel-preset-es2015-without-strict": "0.0.2", "babel-preset-react": "^6.5.0", "babel-preset-stage-0": "^6.5.0", "bundlesize": "^0.15.3", "chai": "^3.5.0", "codecov.io": "^0.1.6", "commitizen": "^2.5.0", "conventional-changelog-cli": "^1.1.1", "cz-conventional-changelog": "^1.1.5", "eslint": "^3.19.0", "eslint-config-nfl": "^11.1.0", "eslint-config-prettier": "^2.0.0", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^3.0.2", "eslint-plugin-mocha": "^4.8.0", "eslint-plugin-prettier": "^2.0.1", "eslint-plugin-react": "^7.1.0", "estraverse": "4.2.0", "estraverse-fb": "1.3.1", "history": "^2.0.0", "isparta-loader": "^2.0.0", "json-loader": "^0.5.3", "karma": "^0.13.10", "karma-browserstack-launcher": "taak77/karma-browserstack-launcher#feature/fixes", "karma-chai-sinon": "^0.1.5", "karma-chrome-launcher": "^0.2.0", "karma-cli": "0.1.2", "karma-coverage": "^0.5.3", "karma-mocha": "^0.2.2", "karma-mocha-reporter": "^1.2.2", "karma-safari-launcher": "^0.1.1", "karma-sauce-launcher": "^0.3.0", "karma-sourcemap-loader": "^0.3.5", "karma-tap-reporter": "0.0.6", "karma-webpack": "^1.7.0", "mocha": "^2.4.5", "path-to-regexp": "^1.2.1", "prettier": "^1.3.1", "prop-types": "^15.5.10", "react": "^15.0.1", "react-addons-test-utils": "^15.0.1", "react-dom": "^15.0.1", "react-redux": "^4.4.5", "react-router": "^2.0.0", "redux": "^3.3.1", "sinon": "^1.17.3", "sinon-chai": "^2.8.0", "webpack": "^1.12.14", "webpack-dev-server": "^1.12.0" }, "scripts": { "commit": "git-cz", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "build": "npm run clean && npm run compile", "build:umd": "NODE_ENV=development webpack src/index.js dist/react-metrics.js", "build:umd:min": "NODE_ENV=production webpack -p src/index.js dist/react-metrics.min.js", "bundlesize": "npm run build:umd:min && bundlesize", "clean": "rimraf lib build", "compile": "babel src --out-dir lib", "examples": "webpack-dev-server --config examples/webpack.config.js --content-base examples --inline", "lint": "eslint src test examples --fix", "pretest": "npm run build", "prepublish": "npm run build && npm run build:umd && npm run build:umd:min", "test": "karma start" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "bundlesize": [ { "path": "./dist/react-metrics.min.js", "maxSize": "8.8 kB" } ], "registry": "npm" }