{
  "name": "@livechat/accounts-sdk",
  "version": "2.3.0",
  "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",
  "files": [
    "dist"
  ],
  "engines": {
    "node": "^22.21.1 || ^24.0.0"
  },
  "scripts": {
    "clean": "rm -rf dist && rm -rf build",
    "start": "npm run clean && rollup -c --watch",
    "prepare": "npm run build",
    "build": "npm run clean && rollup -c",
    "lint": "eslint ./src",
    "lint:fix": "eslint --fix ./src rollup.config.js eslint.config.js",
    "test": "jest",
    "test:dev": "jest --watch",
    "test:coverage": "jest --coverage"
  },
  "jest": {
    "testEnvironment": "jsdom",
    "testMatch": [
      "**/*.test.js"
    ],
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/dist/"
    ],
    "collectCoverageFrom": [
      "src/**/*.js",
      "!src/vendor/**",
      "!src/**/*.test.js"
    ],
    "coverageThreshold": {
      "global": {
        "statements": 90,
        "branches": 90,
        "functions": 90,
        "lines": 90
      }
    }
  },
  "devDependencies": {
    "@babel/core": "^7.29.0",
    "@babel/preset-env": "^7.29.0",
    "@eslint/js": "^9.39.2",
    "@rollup/plugin-babel": "^7.0.0",
    "@rollup/plugin-commonjs": "^29.0.0",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-terser": "^1.0.0",
    "browserslist": "^4.28.1",
    "eslint": "^10.0.2",
    "eslint-plugin-jsdoc": "^62.5.2",
    "globals": "^17.3.0",
    "jest": "^30.0.0",
    "jest-environment-jsdom": "^30.2.0",
    "rollup": "^4.57.1",
    "rollup-plugin-serve": "^3.0.0"
  },
  "browserslist": "> 0.1%, not dead, not IE 11",
  "dependencies": {
    "js-cookie": "^3.0.5",
    "qs": "^6.14.1"
  }
}
