{
  "name": "@braintree/browser-detection",
  "version": "2.1.1",
  "description": "A small lib to detect browser compatibility for braintree products",
  "main": "dist/browser-detection.js",
  "types": "dist/browser-detection.d.ts",
  "files": [
    "dist",
    "*.js"
  ],
  "devDependencies": {
    "@playwright/test": "^1.58.0",
    "@types/jest": "^30.0.0",
    "@types/node": "^25.0.3",
    "@typescript-eslint/eslint-plugin": "^5.62.0",
    "browserify-derequire": "^1.1.1",
    "browserstack-local": "^1.5.8",
    "browserstack-node-sdk": "^1.49.3",
    "dotenv": "^17.2.3",
    "eslint": "^8.57.1",
    "eslint-config-braintree": "^6.0.0-typescript-prep-rc.2",
    "eslint-plugin-prettier": "^5.5.4",
    "jest": "^30.2.0",
    "jest-environment-jsdom": "^29.6.3",
    "prettier": "^3.7.4",
    "ts-jest": "^29.4.6",
    "typescript": "^5.9.3"
  },
  "scripts": {
    "clean:playwright": "find ./ -type f \\( -name \"local.log\" -or -name \"browserstack.err\" \\) -delete && find ./ -depth \\( -name \"log\" -or -name \"playwright-report\" -or -name \"test-results\" \\) -type d -exec rm -rf \"{}\" \\;",
    "prepublishOnly": "npm run build",
    "prebuild": "prettier --write .",
    "build": "tsc --declaration",
    "lint": "eslint --ext js,ts .",
    "posttest": "npm run lint",
    "pretest": "npm run build",
    "test": "jest",
    "start": "npx http-server . -p 8080",
    "preplaywright": "npm run build && rm dist/browser-detection.bundle.js && npx browserify dist/browser-detection.js -o dist/browser-detection.bundle.js --standalone browserDetection",
    "postplaywright": "npm run clean:playwright",
    "playwright": "npx playwright test --config=src/__tests__/playwright/playwright.browserstack.config.ts && npm run playwright:android",
    "playwright:local": "npm run preplaywright && npx playwright test --config=src/__tests__/playwright/playwright.local.ts && npm run postplaywright",
    "playwright:local:headed": "npm run preplaywright && npx playwright test --config=src/__tests__/playwright/playwright.local.ts --headed && npm run postplaywright",
    "playwright:android": "npm run preplaywright && cd src/__tests__/playwright/__tests__/android && browserstack-node-sdk playwright test --config=./playwright.browserstack.config.ts && npm run postplaywright",
    "playwright:ipad": "npx playwright test --config=src/__tests__/playwright/playwright.browserstack.config.ts --project=ipad && npm run postplaywright",
    "playwright:ios": "npx playwright test --config=src/__tests__/playwright/playwright.browserstack.config.ts --project=ios && npm run postplaywright",
    "playwright:osx": "npx playwright test --config=src/__tests__/playwright/playwright.browserstack.config.ts --project=osx && npm run postplaywright",
    "playwright:windows": "npx playwright test --config=src/__tests__/playwright/playwright.browserstack.config.ts --project=windows && npm run postplaywright",
    "version": "./version"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/braintree/browser-detection.git"
  },
  "keywords": [],
  "author": "Braintree <code@getbraintree.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/braintree/browser-detection/issues"
  },
  "homepage": "https://github.com/braintree/browser-detection#readme",
  "jest": {
    "testPathIgnorePatterns": [
      "<rootDir>/src/__tests__/playwright/*"
    ],
    "testEnvironment": "jsdom",
    "preset": "ts-jest",
    "restoreMocks": true,
    "resetMocks": true
  },
  "dependencies": {
    "detectincognitojs": "1.6.2"
  }
}
