{
  "name": "@livechat/accounts-sdk",
  "version": "3.0.3",
  "description": "SDK for 'Sign in with LiveChat'.",
  "author": "LiveChat",
  "license": "MIT",
  "main": "./dist/index.cjs.js",
  "module": "./dist/index.esm.js",
  "unpkg": "./dist/accounts-sdk.min.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist"
  ],
  "engines": {
    "node": "^22.21.1 || ^24.0.0"
  },
  "scripts": {
    "clean": "rm -rf dist && rm -rf build",
    "start": "npm run clean && rollup -c --configPlugin \"typescript={compilerOptions:{sourceMap:false}}\" --watch",
    "prepare": "npm run build",
    "build": "npm run clean && rollup -c --configPlugin \"typescript={compilerOptions:{sourceMap:false}}\"",
    "typecheck": "tsc --noEmit",
    "lint": "eslint ./src ./e2e",
    "lint:fix": "eslint --fix ./src ./e2e rollup.config.ts eslint.config.ts",
    "test": "jest",
    "test:dev": "jest --watch",
    "test:coverage": "jest --coverage",
    "test:e2e": "node e2e/helpers/generate-local-config.mjs && npm run build && playwright test --config e2e/playwright.config.ts",
    "test:e2e:manual": "node e2e/helpers/generate-local-config.mjs && npm run build && npx http-server . -p 4173 -s"
  },
  "jest": {
    "testEnvironment": "jsdom",
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/dist/",
      "/e2e/"
    ],
    "transform": {
      "^.+\\.(ts|js)$": "ts-jest"
    },
    "collectCoverageFrom": [
      "src/**/*.ts",
      "!src/vendor/**",
      "!src/**/*.test.ts"
    ],
    "coverageThreshold": {
      "global": {
        "statements": 90,
        "branches": 90,
        "functions": 90,
        "lines": 90
      }
    }
  },
  "devDependencies": {
    "@eslint/js": "^9.39.2",
    "@playwright/test": "^1.61.1",
    "@rollup/plugin-commonjs": "^29.0.0",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-terser": "^1.0.0",
    "@rollup/plugin-typescript": "^12.3.0",
    "@types/jest": "^30.0.0",
    "@types/js-cookie": "^3.0.6",
    "@types/node": "^26.1.0",
    "@types/qs": "^6.15.0",
    "@typescript-eslint/eslint-plugin": "^8.58.2",
    "@typescript-eslint/parser": "^8.58.2",
    "browserslist": "^4.28.1",
    "caniuse-lite": "^1.0.30001800",
    "electron-to-chromium": "^1.5.382",
    "eslint": "^10.0.2",
    "eslint-plugin-jsdoc": "^64.3.2",
    "globals": "^17.3.0",
    "http-server": "^14.1.1",
    "jest": "^30.0.0",
    "jest-environment-jsdom": "^30.2.0",
    "jiti": "^2.7.0",
    "rollup": "^4.57.1",
    "rollup-plugin-serve": "^3.0.0",
    "ts-jest": "^29.4.9",
    "tslib": "^2.8.1",
    "typescript": "^6.0.2"
  },
  "dependencies": {
    "js-cookie": "^3.0.5",
    "qs": "^6.14.1"
  }
}
