{
  "name": "@20minutes/tyr",
  "version": "2.42.5",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/20minutes/tyr.git"
  },
  "license": "MIT",
  "author": "20 Minutes",
  "type": "module",
  "publishConfig": {
    "access": "public"
  },
  "storybook": {
    "url": "https://developers.20minutes.fr/tyr/"
  },
  "main": "./dist/index.umd.js",
  "module": "./dist/index.es.js",
  "source": "src/index.ts",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.es.js",
      "require": "./dist/index.umd.js"
    }
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "prepare": "husky && tsx scripts/copyAssets",
    "schema:update": "graphql-codegen -r dotenv/config --config codegen.ts",
    "build:library": "yarn vite build && rm -rf dist/tests dist/scripts && rollup -c && tsx scripts/buildPages",
    "build:library:analyze": "BUILD_ANALYZE=1 yarn build:library",
    "build:local": "yarn build:library && yarn pack -f 20minutes-tyr-dev-$(date +\"%s\").tgz && npx serv -p 8282",
    "storybook": "storybook dev -p 6007",
    "build:storybook": "storybook build",
    "lint": "biome check --max-diagnostics=none",
    "lint:fix": "biome check --write --unsafe --max-diagnostics=none",
    "lint:staged": "biome check --error-on-warnings --no-errors-on-unmatched --staged --max-diagnostics=none",
    "lint:ci": "biome ci --max-diagnostics=none --error-on-warnings",
    "test": "NODE_ENV=test vitest",
    "test:coverage": "NODE_ENV=test vitest --coverage --silent=true",
    "test:watch": "NODE_ENV=test vitest --watch",
    "upload:artifacts": "tsx scripts/uploadArtifacts",
    "upload:storybook:start": "tsx scripts/uploadStorybook start",
    "upload:storybook:end": "tsx scripts/uploadStorybook end"
  },
  "engines": {
    "npm": "please-use-yarn-instead",
    "yarn": ">= 1.22.22",
    "node": ">= 24"
  },
  "dependencies": {
    "@20minutes/draft-convert": "^3.1.2",
    "@20minutes/hela": "^2.21.15",
    "classnames": "^2.5.1",
    "draft-js": "^0.11.7",
    "html-entities": "^2.6.0",
    "html-react-parser": "^6.1.3",
    "html-to-react": "^1.7.0",
    "jwt-decode": "^4.0.0",
    "node-html-parser": "^7.1.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "uri-js": "npm:uri-js-replace",
    "web-vitals": "^5.3.0",
    "whatwg-url": "^16.0.0"
  },
  "devDependencies": {
    "@20minutes/eslint-config": "^3.0.3",
    "@aws-sdk/client-s3": "3.1064.0",
    "@graphql-codegen/cli": "^7.1.2",
    "@graphql-codegen/typescript": "^6.0.2",
    "@graphql-codegen/typescript-operations": "^6.0.3",
    "@octokit/core": "7.0.6",
    "@rollup/plugin-commonjs": "^29.0.3",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-replace": "^6.0.3",
    "@rollup/plugin-terser": "^1.0.0",
    "@storybook/addon-a11y": "^10.4.2",
    "@storybook/addon-docs": "^10.4.2",
    "@storybook/addon-links": "^10.4.2",
    "@storybook/react-vite": "^10.4.2",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/react": "^16.3.2",
    "@types/draft-js": "^0.11.20",
    "@types/googletag": "^3.3.0",
    "@types/jsdom": "^27.0.0",
    "@types/node": "^25.9.2",
    "@types/poool-access": "^5.18.1",
    "@types/poool-engage": "^2.2.0",
    "@types/react": "^18.3.13",
    "@types/react-dom": "^18.3.1",
    "@vitejs/plugin-react": "^5.1.4",
    "@vitest/coverage-v8": "4.0.18",
    "dotenv": "^17.4.2",
    "esbuild": "^0.28.0",
    "globals": "^17.6.0",
    "graphql": "^16.14.2",
    "husky": "^9.1.7",
    "jest-worker": "^30.4.1",
    "jsdom": "^29.1.1",
    "mockdate": "^3.0.5",
    "postcss": "^8.5.15",
    "purgecss": "^8.0.0",
    "purgecss-from-html": "^8.0.0",
    "rollup": "^4.61.1",
    "rollup-plugin-esbuild": "^6.2.1",
    "rollup-plugin-typescript-paths": "^1.5.0",
    "rollup-plugin-visualizer": "^7.0.1",
    "schema-dts": "^2.0.0",
    "storybook": "^10.4.2",
    "tsx": "^4.22.4",
    "typed-query-selector": "^2.12.2",
    "typescript": "^6.0.3",
    "unplugin-dts": "^1.0.2",
    "vite": "^7.3.1",
    "vite-tsconfig-paths": "^6.1.1",
    "vitest": "4.0.18"
  },
  "resolutions": {
    "@types/draft-js/immutable": "3.8.3",
    "draft-js/immutable": "3.8.3",
    "uri-js": "npm:uri-js-replace",
    "whatwg-url": "^16.0.0"
  }
}
