{
  "name": "@iterable/web-sdk",
  "description": "Iterable SDK for JavaScript and Node.",
  "version": "2.3.3",
  "homepage": "https://iterable.com/",
  "repository": {
    "type": "git",
    "url": "https://github.com/Iterable/iterable-web-sdk.git"
  },
  "engines": {
    "node": ">= 18.12.0"
  },
  "author": "Iterable",
  "license": "MIT",
  "private": false,
  "sideEffects": false,
  "keywords": [
    "javascript",
    "iterable sdk",
    "typescript"
  ],
  "main": "./index.node.js",
  "browser": "./index.js",
  "types": "./dist/index.d.ts",
  "unpkg": "./index.js",
  "files": [
    "index.js",
    "index.d.ts",
    "index.node.js",
    "dist/*",
    "package.json",
    "README.md"
  ],
  "dependencies": {
    "@pabra/sortby": "^1.0.1",
    "@types/ws": "8.5.4",
    "axios": "1.18.0",
    "axios-mock-adapter": "^1.22.0",
    "buffer": "^6.0.3",
    "copy-webpack-plugin": "^11.0.0",
    "idb-keyval": "^6.2.0",
    "lodash": "^4.17.21",
    "qs": "^6.12.3",
    "throttle-debounce": "^3.0.1",
    "uuid": "^9.0.0",
    "yup": "^0.32.9"
  },
  "scripts": {
    "start": "concurrently \"ttsc -w\" \"babel src --watch --out-dir ./dist --extensions '.ts,.tsx'\" \"webpack-dev-server --config webpack.dev.config.js\" -n 'tsc,babel,webpack' -k",
    "install:all": "yarn && cd example && yarn && cd ../react-example && yarn",
    "start:all": "concurrently \"yarn start\" \"cd example && yarn start\" -n 'module,website' -k",
    "start:all:react": "concurrently \"yarn start\" \"cd react-example && yarn start\" -n 'module,website' -k",
    "build": "ttsc && babel src --out-dir ./dist --extensions '.ts,.tsx' && webpack",
    "build:node": "yarn build --config webpack.node.config.js",
    "test": "jest --config jest.config.js --coverage",
    "test:webkit": "playwright test",
    "format": "prettier --write \"src/**/*.{ts,tsx}\" \"src/**/*.{js}\" \"example/src/**/*.{ts,tsx}\" \"example/src/**/*.{js}\" \"react-example/src/**/*.{ts,tsx}\" \"react-example/src/**/*.{js}\" --no-error-on-unmatched-pattern",
    "lint": "eslint src --ignore-pattern '*.test.*' --ignore-pattern '*.spec.*' --ext '.ts,.tsx'",
    "typecheck": "ttsc --noEmit true --emitDeclarationOnly false",
    "check-deps": "madge --extensions js,ts --circular dist",
    "prepublishOnly": "yarn lint && yarn typecheck && yarn format && yarn build && yarn build:node",
    "clean": "find . -name \"node_modules\" -exec rm -rf '{}' +"
  },
  "devDependencies": {
    "@babel/cli": "^7.5.5",
    "@babel/core": "^7.5.5",
    "@babel/plugin-proposal-class-properties": "^7.5.5",
    "@babel/plugin-proposal-object-rest-spread": "^7.5.5",
    "@babel/plugin-proposal-optional-chaining": "^7.14.5",
    "@babel/plugin-transform-modules-umd": "^7.14.5",
    "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
    "@babel/plugin-transform-runtime": "^7.22.15",
    "@babel/preset-env": "^7.27.2",
    "@babel/preset-typescript": "^7.6.0",
    "@playwright/test": "1.56.1",
    "@types/jest": "^28.1.1",
    "@types/node": "^12.12.6",
    "@types/throttle-debounce": "^2.1.0",
    "@types/uuid": "^9.0.8",
    "@typescript-eslint/eslint-plugin": "^5.38.1",
    "@typescript-eslint/parser": "^5.38.1",
    "@webpack-cli/serve": "^1.6.0",
    "babel-loader": "^9.1.3",
    "babel-plugin-module-resolver": "^5.0.0",
    "concurrently": "^6.3.0",
    "css-loader": "^6.8.1",
    "dotenv": "^10.0.0",
    "eslint": "^8.2.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-import": "^2.25.2",
    "eslint-plugin-prettier": "^3.4.0",
    "fake-indexeddb": "^4.0.0",
    "file-loader": "^6.2.0",
    "husky": "^3.1.0",
    "jest": "^28.1.3",
    "jest-environment-jsdom": "^28.1.3",
    "jest-localstorage-mock": "^2.4.26",
    "lint-staged": "^11.2.6",
    "madge": "^5.0.1",
    "mini-css-extract-plugin": "^2.7.6",
    "prettier": "^2.2.1",
    "style-loader": "^3.3.3",
    "ts-jest": "^28.0.8",
    "ttypescript": "^1.5.15",
    "typescript": "^4.9.5",
    "typescript-transform-paths": "^3.4.6",
    "webpack": "^5.99.9",
    "webpack-cli": "^6.0.1",
    "webpack-dev-server": "^5.2.2"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged && yarn typecheck",
      "pre-push": "yarn test --changedSince main"
    }
  },
  "resolutions": {
    "axios": "1.18.0"
  },
  "lint-staged": {
    "*.{ts,tsx,js}": [
      "eslint --fix",
      "prettier --write",
      "eslint"
    ]
  }
}
