{
  "type": "module",
  "version": "7.11.6",
  "name": "@vkontakte/vkui",
  "description": "VKUI library",
  "module": "./dist/index.js",
  "typings": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./dist/vkui.css": "./dist/vkui.css",
    "./dist/components.css": "./dist/components.css",
    "./dist/cssm": {
      "types": "./dist/index.d.ts",
      "import": "./dist/cssm/index.js",
      "default": "./dist/cssm/index.js"
    },
    "./dist/cssm/styles/themes.css": "./dist/cssm/styles/themes.css",
    "./package.json": "./package.json"
  },
  "files": [
    "./dist",
    "./src",
    "!./src/**/*.png",
    "!./src/**/*.md",
    "!./src/**/*.*.ts",
    "!./src/**/*.*.tsx",
    "!./src/vkui.js",
    "!./src/styles/missedThemeTokens.css",
    "!./src/testing/",
    "!./src/storybook/"
  ],
  "sideEffects": [
    "./dist/index.js",
    "./dist/cssm/index.js",
    "*.css"
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/VKCOM/VKUI.git",
    "directory": "packages/vkui"
  },
  "bugs": "https://github.com/VKCOM/VKUI/issues",
  "homepage": "https://vkui.io/",
  "scripts": {
    "prepack": "yarn copy-essensial-files && yarn build",
    "copy-essensial-files": "cp ../../LICENSE . && cp ../../README.md .",
    "size": "yarn clear && yarn build:no-types && size-limit",
    "size:ci": "YARN_ENABLE_SCRIPTS=false yarn install --immutable && yarn build:no-types",
    "build": "yarn clear && yarn generate && yarn run -T concurrently 'yarn:build:*'",
    "build:types": "yarn run -T concurrently 'yarn:tsc:*'",
    "build:no-types": "yarn run -T concurrently 'yarn:swc:*' 'yarn:postcss'",
    "clear": "yarn run -T shx rm -rf dist/* || yarn run -T shx true",
    "docker:clear-playwright-cache": "../../scripts/generate_env_docker.sh && docker compose --env-file=./.env.docker rm -f && docker volume rm vkui_package_vkui_playwright_cache",
    "postcss": "yarn run -T cross-env NODE_ENV=production concurrently 'yarn:postcss:*'",
    "postcss:bundle": "yarn run -T rspack --config rspack.styles.config.mjs",
    "postcss:modules": "yarn run -T postcss './src/**/*.css' --base ./src --dir ./dist/cssm --config ./cssm",
    "swc-base": "yarn run -T cross-env NODE_ENV=production swc src/ --config-file package.swcrc --extensions .tsx,.jsx,.ts,.js --strip-leading-paths",
    "swc:es6": "yarn swc-base -d dist -s",
    "swc:cssm": "yarn swc-base -d dist/cssm -s --config-file ./cssm/cssm.swcrc",
    "tsc:es6": "yarn run -T cross-env NODE_ENV=production tsc --emitDeclarationOnly --declaration -p tsconfig.dist.json",
    "test": "yarn run -T vitest run --pool=vmThreads",
    "test:watch": "yarn run -T vitest --pool=vmThreads",
    "test:ci": "yarn run -T vitest run --reporter=json --outputFile=../../test-results.json --coverage",
    "test:e2e": "../../scripts/generate_env_docker.sh && docker compose --env-file=./.env.docker up --abort-on-container-exit",
    "test:e2e-update": "../../scripts/generate_env_docker.sh -u && docker compose --env-file=./.env.docker up --abort-on-container-exit",
    "test:e2e:ci": "yarn run -T cross-env NODE_OPTIONS='--experimental-transform-types --disable-warning=ExperimentalWarning' playwright test --config playwright-ct.config.ts",
    "test:e2e:ci:ui": "yarn run -T cross-env NODE_OPTIONS='--experimental-transform-types --disable-warning=ExperimentalWarning' playwright test --ui --ui-port=4300 --ui-host=0.0.0.0 --config playwright-ct.config.ts",
    "test:e2e:ui": "../../scripts/generate_env_docker.sh -r test:e2e:ci:ui && docker compose --env-file=./.env.docker up --abort-on-container-exit",
    "test:e2e-update:ci": "yarn run test:e2e:ci --update-snapshots",
    "lint:generated-files": "yarn run -T concurrently 'yarn:lint:generated-files:*'",
    "lint:generated-files:css-custom-medias": "yarn run -T tsc scripts/generateCSSCustomMedias.mjs --checkJs --module ESNext --moduleResolution node --resolveJsonModule --allowSyntheticDefaultImports --jsx react-jsx --noEmit && yarn run generate:css-custom-medias && git diff --exit-code src/styles/customMedias.generated.css",
    "lint:generated-files:css-modules": "yarn run generate:css-modules",
    "storybook": "bash -c 'source .env && yarn run -T storybook dev -p ${STORYBOOK_DEV_PORT:=6006}'",
    "storybook:build": "yarn run -T storybook build",
    "generate": "yarn run -T concurrently 'yarn:generate:*'",
    "generate:css-custom-medias": "node scripts/generateCSSCustomMedias.mjs",
    "generate:css-modules": "yarn run -T hcm 'src/**/*.css'"
  },
  "peerDependencies": {
    "react": "^18.2.0 || ^19.0.0",
    "react-dom": "^18.2.0 || ^19.0.0"
  },
  "dependencies": {
    "@swc/helpers": "^0.5.17",
    "@vkontakte/icons": "^3.0.0",
    "@vkontakte/vkjs": "^2.0.2",
    "@vkontakte/vkui-date-fns-tz": "^0.0.6",
    "@vkontakte/vkui-floating-ui": "^0.2.7"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.3.7",
    "@types/node": "*",
    "@types/postcss-import": "^14.0.3",
    "react": "^18.3.1",
    "react-dom": "^18.3.1"
  },
  "size-limit": [
    {
      "name": "JS",
      "path": "dist/index.js",
      "brotli": false,
      "import": "*"
    },
    {
      "name": "JS (gzip)",
      "path": "dist/index.js",
      "gzip": true,
      "import": "*"
    },
    {
      "name": "JS (brotli)",
      "path": "dist/index.js",
      "import": "*"
    },
    {
      "name": "JS import Div (tree shaking)",
      "path": "dist/index.js",
      "brotli": false,
      "import": "{ Div }"
    },
    {
      "name": "CSS",
      "path": "dist/vkui.css",
      "webpack": false,
      "brotli": false
    },
    {
      "name": "CSS (gzip)",
      "path": "dist/vkui.css",
      "gzip": true,
      "webpack": false
    },
    {
      "name": "CSS (brotli)",
      "path": "dist/vkui.css",
      "webpack": false
    }
  ],
  "publishConfig": {
    "provenance": true
  }
}