{
  "version": "8.32.0",
  "name": "@memori.ai/memori-react",
  "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"
  ],
  "license": "Apache-2.0",
  "homepage": "https://github.com/memori-ai/memori-react#readme",
  "bugs": "https://github.com/memori-ai/memori-react/issues",
  "repository": "https://github.com/memori-ai/memori-react.git",
  "keywords": [
    "memori",
    "memori-ai",
    "react",
    "nlp",
    "typescript",
    "ai",
    "storybook",
    "conversational-agents",
    "conversational-ai"
  ],
  "engines": {
    "node": ">=16"
  },
  "packageManager": "yarn@3.2.3",
  "storybook": {
    "url": "https://memori-ai.github.io/memori-react/"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "scripts": {
    "clean": "rimraf dist esm",
    "copy-files:cjs": "copyfiles -u 1 src/**/*.css dist/",
    "copy-files:esm": "copyfiles -u 1 src/**/*.css esm/",
    "cleanup-test:cjs": "find dist -name \\*.test.\\* -type f | xargs -n1 rm",
    "cleanup-stories:cjs": "find dist -name \\*.stories.\\* -type f | xargs -n1 rm",
    "cleanup-test:esm": "find esm -name \\*.test.\\* -type f | xargs -n1 rm",
    "cleanup-stories:esm": "find esm -name \\*.stories.\\* -type f | xargs -n1 rm",
    "cleanup-mocks": "rimraf dist/mocks esm/mocks",
    "cleanup": "yarn cleanup-test:cjs && yarn cleanup-stories:cjs && yarn cleanup-test:esm && yarn cleanup-stories:esm && yarn cleanup-mocks",
    "copy-files": "yarn copy-files:cjs && yarn copy-files:esm",
    "build:cjs": "tsc --module commonjs --outDir dist",
    "build:esm": "tsc --module esnext --outDir esm",
    "update-version": "node ./scripts/update-version.js",
    "prebuild": "yarn clean",
    "build": "yarn build:cjs && yarn build:esm && yarn copy-files && yarn cleanup",
    "postbuild": "yarn copy-files",
    "test:ci": "TZ=UTC NODE_ENV=test jest --passWithNoTests --ci src",
    "test:coverage": "TZ=UTC NODE_ENV=test jest --coverage src",
    "test": "TZ=UTC NODE_ENV=test jest --watch src",
    "lint:ts": "eslint --ignore-path .gitignore \"src/**/*.+(ts|js|tsx)\"",
    "lint:css": "stylelint \"src/**/*.css\"",
    "lint": "yarn lint:ts && yarn lint:css",
    "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",
    "sb": "storybook dev -p 6006",
    "storybook": "storybook dev -p 6006",
    "storybook:emulator": "storybook dev --port 3000 --host 0.0.0.0 --ci",
    "build-storybook": "storybook build"
  },
  "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"
  ],
  "eslintConfig": {
    "env": {
      "browser": true,
      "es2021": true,
      "jest": true
    },
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
      "ecmaFeatures": {
        "jsx": true
      },
      "ecmaVersion": "latest",
      "sourceType": "module"
    },
    "settings": {
      "react": {
        "version": "detect"
      }
    },
    "globals": {
      "JSX": "readonly",
      "NodeJS": "readonly",
      "MutationCallback": "readonly"
    },
    "extends": [
      "eslint:recommended",
      "plugin:react/recommended",
      "plugin:react/jsx-runtime",
      "plugin:storybook/recommended",
      "prettier"
    ],
    "plugins": [
      "jest",
      "react",
      "@typescript-eslint",
      "prettier",
      "react-hooks",
      "jsx-a11y"
    ],
    "rules": {
      "endOfLine": "off",
      "react/no-unknown-property": "off",
      "react/require-default-props": "off",
      "no-unused-vars": "off",
      "no-useless-escape": "off",
      "no-extra-boolean-cast": "off",
      "no-console": "off",
      "no-shadow": "off"
    }
  },
  "stylelint": {
    "extends": [
      "stylelint-config-recommended",
      "stylelint-config-prettier",
      "stylelint-config-idiomatic-order"
    ],
    "rules": {
      "at-rule-no-unknown": [
        true,
        {
          "ignoreAtRules": [
            "extend",
            "function",
            "include",
            "mixin",
            "return"
          ]
        }
      ]
    }
  },
  "release-it": {
    "hooks": {
      "after:bump": "yarn update-version && yarn build"
    },
    "git": {
      "tagName": "v${version}",
      "commitMessage": "chore: release v${version}",
      "addUntrackedFiles": true
    },
    "npm": {
      "publish": 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-react.cjs.production.min.js",
      "limit": "10 KB"
    },
    {
      "path": "dist/memori-react.esm.js",
      "limit": "10 KB"
    }
  ],
  "devDependencies": {
    "@babel/core": "7.20.2",
    "@babel/preset-env": "^7.21.4",
    "@babel/preset-react": "^7.18.6",
    "@babel/preset-typescript": "^7.21.4",
    "@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",
    "@storybook/addon-essentials": "7.4.0",
    "@storybook/addon-links": "7.4.0",
    "@storybook/addon-mdx-gfm": "7.4.0",
    "@storybook/addons": "7.4.0",
    "@storybook/react": "7.4.0",
    "@storybook/react-webpack5": "7.4.0",
    "@testing-library/jest-dom": "5.16.5",
    "@testing-library/react": "13.4.0",
    "@types/jest": "29.2.4",
    "@types/leaflet": "^1.9.11",
    "@types/luxon": "^3.3.7",
    "@types/prop-types": "15.7.5",
    "@types/react": "18.0.25",
    "@types/react-dom": "18.0.9",
    "@types/three": "0.144.0",
    "@typescript-eslint/eslint-plugin": "5.45.1",
    "@typescript-eslint/parser": "5.45.1",
    "autoprefixer": "10.4.13",
    "babel-jest": "29.3.1",
    "babel-loader": "9.1.0",
    "copyfiles": "2.4.1",
    "cssnano": "5.1.14",
    "eslint": "8.29.0",
    "eslint-config-prettier": "8.5.0",
    "eslint-plugin-import": "2.26.0",
    "eslint-plugin-jest": "27.1.5",
    "eslint-plugin-jsx-a11y": "6.6.1",
    "eslint-plugin-prettier": "4.2.1",
    "eslint-plugin-react": "7.31.11",
    "eslint-plugin-react-hooks": "4.6.0",
    "eslint-plugin-storybook": "0.6.13",
    "husky": "8.0.2",
    "identity-obj-proxy": "3.0.0",
    "is-ci": "3.0.1",
    "jest": "29.3.1",
    "jest-environment-jsdom": "29.3.1",
    "postcss": "8.4.19",
    "prettier": "2.8.0",
    "prop-types": "15.8.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-is": "18.2.0",
    "release-it": "15.5.0",
    "rimraf": "3.0.2",
    "size-limit": "8.1.0",
    "storybook": "7.6.21",
    "stylelint": "14.15.0",
    "stylelint-config-idiomatic-order": "9.0.0",
    "stylelint-config-prettier": "9.0.4",
    "stylelint-config-recommended": "9.0.0",
    "ts-jest": "29.0.3",
    "tslib": "2.4.1",
    "typescript": "4.9.3"
  },
  "peerDependencies": {
    "react": ">=16",
    "typescript": ">=4.8"
  },
  "dependencies": {
    "@headlessui/react": "1.7.4",
    "@memori.ai/memori-api-client": "6.20.0",
    "@react-three/drei": "8.20.2",
    "@react-three/fiber": "7.0.25",
    "classnames": "2.5.1",
    "dompurify": "^3.3.3",
    "ellipsed": "1.6.0",
    "i18next": "22.0.6",
    "katex": "^0.16.11",
    "leaflet": "^1.9.4",
    "lil-gui": "^0.19.2",
    "luxon": "^3.5.0",
    "marked": "^15.0.2",
    "marked-katex-extension": "^5.1.3",
    "marked-linkify-it": "^3.1.12",
    "qrcode.react": "3.1.0",
    "react-hook-form": "7.39.5",
    "react-hot-toast": "^2.4.1",
    "react-i18next": "12.0.0",
    "react-leaflet": "^4.2.1",
    "standardized-audio-context": "25.3.34",
    "three": "0.144.0",
    "tiny-invariant": "^1.3.3"
  }
}
