{
  "name": "@apolitical/gtm",
  "version": "1.2.3",
  "description": "Browser library to interact with Google Tag Manager (GTM)",
  "author": "Apolitical Group Limited <engineering@apolitical.co>",
  "license": "MIT",
  "main": "build/index.js",
  "files": [
    "build/**"
  ],
  "scripts": {
    "test": "jest --runInBand",
    "unit-test": "jest test/unit/* --bail --runInBand --passWithNoTests",
    "integration-test": "jest test/integration/* --bail --runInBand --passWithNoTests",
    "build": "webpack --config webpack.config.js",
    "lint": "eslint --ext .js ./lib",
    "format": "prettier --write 'lib/**/*.+(js|json)'",
    "lint-format": "lint-staged",
    "prepare": "cd ../../../../ && husky install frontend/modules/v1/apolitical-gtm/.husky",
    "prepack": "yarn build"
  },
  "keywords": [
    "JavaScript",
    "Library",
    "Template"
  ],
  "dependencies": {
    "react-gtm-module": "2.0.11"
  },
  "peerDependencies": {
    "react-gtm-module": "2.0.11"
  },
  "devDependencies": {
    "@apolitical/eslint-config": "2.0.1",
    "@babel/core": "7.17.10",
    "@babel/eslint-parser": "7.17.0",
    "@babel/plugin-transform-runtime": "7.17.10",
    "@babel/preset-env": "7.17.10",
    "husky": "8.0.1",
    "jest": "28.1.0",
    "jest-junit": "13.2.0",
    "lint-staged": "12.4.1",
    "webpack": "5.72.1",
    "webpack-cli": "4.9.2"
  },
  "eslintConfig": {
    "extends": [
      "@apolitical/eslint-config/base.config"
    ],
    "env": {
      "browser": true
    },
    "parser": "@babel/eslint-parser"
  },
  "prettier": "@apolitical/eslint-config/prettier.config",
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all",
      "ie 11"
    ]
  },
  "jest": {
    "bail": true,
    "clearMocks": true,
    "collectCoverage": true,
    "collectCoverageFrom": [
      "<rootDir>/lib/**/*.js"
    ],
    "coveragePathIgnorePatterns": [
      "<rootDir>/node_modules/"
    ],
    "setupFiles": [
      "./test/setupTests.js"
    ],
    "reporters": [
      "default",
      "jest-junit"
    ],
    "testResultsProcessor": "jest-junit"
  },
  "babel": {
    "presets": [
      "@babel/preset-env"
    ],
    "env": {
      "test": {
        "plugins": [
          "@babel/plugin-transform-runtime"
        ]
      }
    }
  },
  "engines": {
    "node": ">=20.14.0"
  },
  "lint-staged": {
    "*.js": "eslint --cache --fix --ignore-path .gitignore",
    "*.+(js|json)": "prettier --write --ignore-path .gitignore"
  }
}
