{
  "version": "6.11.0",
  "name": "@memori.ai/memori-api-client",
  "description": "React library to integrate a Memori in your app or website",
  "license": "Apache-2.0",
  "homepage": "https://github.com/memori-ai/memori-api-client#readme",
  "bugs": "https://github.com/memori-ai/memori-api-client/issues",
  "repository": "https://github.com/memori-ai/memori-api-client.git",
  "keywords": [
    "memori",
    "memori-ai",
    "conversational-agents",
    "conversational-ai",
    "nlp",
    "typescript",
    "ai",
    "api-client",
    "api-wrapper"
  ],
  "author": "Memori Srl",
  "main": "dist/index.js",
  "module": "esm/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist",
    "esm",
    "src",
    "CHANGELOG.md",
    "LICENSE",
    "README.md"
  ],
  "engines": {
    "node": ">=16"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "packageManager": "yarn@3.2.3",
  "scripts": {
    "clean": "rimraf dist esm",
    "build:cjs": "tsc --module commonjs --outDir dist",
    "build:esm": "tsc --module esnext --outDir esm",
    "prebuild": "yarn clean",
    "build": "yarn build:cjs && yarn build:esm",
    "test:ci": "jest --passWithNoTests --ci",
    "test:coverage": "jest --coverage src",
    "test": "jest",
    "lint": "eslint --ignore-path .gitignore \"src/**/*.+(ts|js|tsx)\"",
    "typecheck": "tsc --noEmit",
    "prepare:husky": "is-ci || husky install",
    "prepare": "yarn build && yarn prepare:husky",
    "size": "size-limit",
    "analyze": "size-limit --why",
    "format": "prettier --write src test",
    "release": "release-it"
  },
  "prettier": {
    "printWidth": 80,
    "semi": true,
    "singleQuote": true,
    "trailingComma": "es5",
    "arrowParens": "avoid",
    "endOfLine": "auto",
    "overrides": [
      {
        "files": "*.css",
        "options": {
          "tabWidth": 4,
          "printWidth": 120
        }
      },
      {
        "files": "*.json",
        "options": {
          "printWidth": 200
        }
      }
    ]
  },
  "eslintIgnore": [
    "/node_modules",
    "/build",
    "/dist",
    "/esm"
  ],
  "eslintConfig": {
    "env": {
      "browser": true,
      "es2021": true,
      "jest": true
    },
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
      "ecmaFeatures": {
        "jsx": true
      },
      "ecmaVersion": "latest",
      "sourceType": "module"
    },
    "extends": [
      "prettier"
    ],
    "plugins": [
      "jest",
      "@typescript-eslint",
      "prettier"
    ],
    "rules": {
      "endOfLine": "off",
      "react/no-unknown-property": "off",
      "react/require-default-props": "off",
      "no-console": "off",
      "no-shadow": "off"
    }
  },
  "release-it": {
    "hooks": {
      "after:bump": "yarn build"
    },
    "git": {
      "tagName": "v${version}",
      "commitMessage": "chore: release v${version}"
    },
    "npm": {
      "publish": true,
      "skipChecks": true
    },
    "github": {
      "release": true,
      "releaseName": "${version}"
    },
    "plugins": {
      "@release-it/conventional-changelog": {
        "infile": "CHANGELOG.md",
        "preset": {
          "name": "conventionalcommits",
          "types": [
            {
              "type": "feat",
              "section": "Features"
            },
            {
              "type": "fix",
              "section": "Bug Fixes"
            },
            {
              "type": "refactor",
              "section": "Changes"
            },
            {
              "type": "chore",
              "section": "Maintenance"
            }
          ]
        }
      }
    }
  },
  "size-limit": [
    {
      "path": "dist/memori-api-client.cjs.production.min.js",
      "limit": "10 KB"
    },
    {
      "path": "dist/memori-api-client.esm.js",
      "limit": "10 KB"
    }
  ],
  "devDependencies": {
    "@commitlint/cli": "17.3.0",
    "@commitlint/config-conventional": "17.3.0",
    "@release-it/conventional-changelog": "5.1.1",
    "@size-limit/preset-small-lib": "8.1.0",
    "@types/jest": "29.2.4",
    "@typescript-eslint/eslint-plugin": "5.45.1",
    "@typescript-eslint/parser": "5.45.1",
    "eslint": "8.29.0",
    "eslint-config-prettier": "8.5.0",
    "eslint-plugin-import": "2.26.0",
    "eslint-plugin-jest": "27.1.5",
    "eslint-plugin-prettier": "4.2.1",
    "husky": "8.0.2",
    "is-ci": "3.0.1",
    "jest": "29.3.1",
    "jest-fetch-mock": "^3.0.3",
    "prettier": "2.8.0",
    "release-it": "15.5.0",
    "rimraf": "3.0.2",
    "size-limit": "8.1.0",
    "ts-jest": "29.0.3",
    "tslib": "2.4.1",
    "typescript": "4.9.3"
  },
  "peerDependencies": {
    "typescript": ">=4.8"
  },
  "dependencies": {
    "cross-fetch": "^3.1.5"
  }
}
