{
  "name": "ad-rotator",
  "title": "ad-rotator.js",
  "description": "A light-weight JS library to rotate advertisements.",
  "version": "5.8.1",
  "homepage": "https://github.com/digitalfortress-tech/ad-rotator",
  "license": "MIT",
  "jest": {
    "transform": {
      "^.+\\.(js|jsx)$": "babel-jest",
      "^.+\\.(ts|tsx)?$": "ts-jest",
      "^.+\\.(css|less)$": "<rootDir>/styleMock.js"
    },
    "testEnvironment": "jsdom"
  },
  "author": {
    "name": "Niket Pathak",
    "email": "contact@niketpathak.com",
    "url": "https://niketpathak.com"
  },
  "main": "./dist/rotator.umd.js",
  "module": "./dist/rotator.es.js",
  "types": "./dist/types.d.ts",
  "sideEffects": false,
  "exports": {
    ".": {
      "import": "./dist/rotator.es.js",
      "require": "./dist/rotator.umd.js"
    }
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/digitalfortress-tech/ad-rotator.git"
  },
  "bugs": {
    "url": "https://github.com/digitalfortress-tech/ad-rotator/issues"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "https://github.com/digitalfortress-tech/ad-rotator/blob/master/LICENSE"
    }
  ],
  "files": [
    "dist/"
  ],
  "keywords": [
    "ad",
    "adverts",
    "rotator",
    "adrotator",
    "ad rotator",
    "ad rotation",
    "adrotation",
    "rotate ad",
    "rotate ads",
    "ads",
    "advertisement",
    "bypass adblock",
    "disable adblock",
    "penetrate adblock",
    "blockadblock"
  ],
  "devDependencies": {
    "@babel/preset-env": "^7.22.20",
    "@typescript-eslint/eslint-plugin": "^6.7.3",
    "@typescript-eslint/parser": "^6.7.3",
    "axe-core": "^4.8.2",
    "copyfiles": "^2.4.1",
    "cypress": "^13.3.0",
    "cypress-axe": "^1.5.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-plugin-cypress": "^2.15.1",
    "eslint-plugin-jest": "^27.4.2",
    "eslint-plugin-prettier": "^5.0.0",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "less": "^4.2.0",
    "prettier": "^3.0.3",
    "ts-jest": "^29.1.1",
    "ts-loader": "^9.5.0",
    "typescript": "^5.2.2",
    "vite": "^4.4.11",
    "vite-plugin-dts": "^3.6.0"
  },
  "scripts": {
    "dev": "vite",
    "prod": "vite build --mode production",
    "watch": "vite build --watch.exclude 'node_modules/**'",
    "preview": "vite preview",
    "tag": "npm version minor --no-git-tag-version && npm run prod && PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git commit -am \"$PACKAGE_VERSION release\" && git tag v$PACKAGE_VERSION",
    "test-unit": "jest src --verbose",
    "test-e2e-gui": "npm run cy:open",
    "test-e2e": "npm run cy:run",
    "cy:run": "npx cypress run --headless --browser chrome",
    "cy:open": "npx cypress open --browser chrome",
    "lint": "eslint --fix ./src",
    "copy-typescript-definitions": "copyfiles -u 1 \"src/**/*.d.ts\" dist"
  }
}