package.json
{
"name": "@nullunit/react-gtm",
"version": "0.0.0",
"description": "Google Tag Manager and Universal Analytics for React",
"author": "Justin Smith <justin@nullunit.co> (https://nullunit.co/)",
"license": "MIT",
"homepage": "https://github.com/nullunit/react-gtm",
"repository": {
"type": "git",
"url": "https://github.com/nullunit/react-gtm.git"
},
"keywords": [
"react",
"gtm",
"gtag",
"google tag manager",
"tag manager",
"ua",
"universal analytics",
"analytics",
"google"
],
"main": "dist/bundle.min.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "scripts/clean.sh",
"prepublishOnly": "scripts/prepublish.sh",
"prebuild": "scripts/prebuild.sh",
"build": "npm run check && npm run test:coverage && webpack --display-reasons --display-modules --mode production",
"package": "npm run prepublishOnly && npm run build && npm pack",
"test": "CI=true react-scripts test --env=jsdom",
"test:coverage": "CI=true react-scripts test --coverage --env=jsdom",
"test:snapshot": "CI=true react-scripts test --env=jsdom --updateSnapshot",
"check": "eslint ./src",
"fix": "eslint ./src --fix"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@babel/plugin-proposal-class-properties": "7.2.3",
"@babel/plugin-proposal-object-rest-spread": "7.2.0",
"@babel/preset-env": "7.2.3",
"@babel/preset-react": "7.0.0",
"babel-loader": "8.0.4",
"eslint-plugin-react": "7.12.3",
"html-webpack-plugin": "3.2.0",
"prop-types": "15.5.7",
"react": "15.3.0",
"react-scripts": "2.1.3",
"react-test-renderer": "15.3.0",
"webpack-cli": "3.2.1"
},
"peerDependencies": {
"react": ">=15.5.0",
"prop-types": ">=15.5.7"
},
"files": [
"dist/bundle.min.js",
"dist/bundle.min.js.map",
"LICENSE",
"README.md"
],
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!<rootDir>/node_modules/"
],
"coverageReporters": [
"lcov",
"text",
"cobertura"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
}
}