{
  "name": "tdesign-mobile-react",
  "version": "0.23.3",
  "description": "TDesign Component for Mobile React",
  "title": "tdesign-mobile-react",
  "main": "cjs/index.js",
  "module": "es/index.js",
  "typings": "es/index.d.ts",
  "unpkg": "dist/tdesign.min.js",
  "jsdelivr": "dist/tdesign.min.js",
  "files": [
    "esm",
    "es",
    "cjs",
    "lib",
    "dist",
    "LICENSE",
    "README.md",
    "CHANGELOG.md"
  ],
  "sideEffects": [
    "dist/*",
    "es/**/style/**",
    "esm/**/style/**"
  ],
  "scripts": {
    "init": "git submodule init && git submodule update",
    "prepare": "husky install",
    "start": "cd site && vite",
    "dev": "cd site && vite",
    "site": "run-s site:build",
    "site:build": "cd site && vite build",
    "site:serve": "cd site && vite preview",
    "site:preview": "cd site && vite build --mode preview",
    "postsite:preview": "cp _site/index.html _site/404.html",
    "lint": "eslint --ext .ts,.tsx ./ --max-warnings 0",
    "lint:fix": "eslint --ext .ts,.tsx ./ --max-warnings 0 --fix",
    "test": "npm run test:unit && npm run test:snap",
    "test:unit": "vitest run",
    "test:unit-dev": "vitest",
    "test:unit-gui": "vitest --ui",
    "test:unit-coverage": "vitest run --coverage",
    "test:snap": "cross-env NODE_ENV=test-snap vitest run",
    "test:snap-update": "cross-env NODE_ENV=test-snap vitest run -u",
    "test:update": "vitest run -u && npm run test:snap-update",
    "generate:coverage-badge": "npm run test:unit-coverage && node script/generate-coverage.mjs && prettier --write site/test-coverage.js",
    "api:css": "node src/_common/scripts/generate-css-vars.mjs 'Mobile(React)'",
    "prebuild": "rimraf es/* lib/* dist/* esm/* cjs/*",
    "build": "cross-env NODE_ENV=production rollup -c script/rollup.config.js && npm run build:tsc",
    "build:tsc": "concurrently \"npm:build:tsc-*\"",
    "build:tsc-es": "tsc --emitDeclarationOnly -d -p ./tsconfig.build.json --outDir es/",
    "build:tsc-esm": "tsc --emitDeclarationOnly -d -p ./tsconfig.build.json --outDir esm/",
    "build:tsc-lib": "tsc --emitDeclarationOnly -d -p ./tsconfig.build.json --outDir lib/",
    "build:tsc-cjs": "tsc --emitDeclarationOnly -d -p ./tsconfig.build.json --outDir cjs/"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Tencent/tdesign-mobile-react.git"
  },
  "keywords": [
    "tdesign",
    "react"
  ],
  "author": "tdesign",
  "license": "MIT",
  "peerDependencies": {
    "react": ">=18.0.0",
    "react-dom": ">=18.0.0"
  },
  "bugs": {
    "url": "https://github.com/Tencent/tdesign-mobile-react/issues"
  },
  "homepage": "https://tdesign.tencent.com/mobile-react",
  "devDependencies": {
    "@babel/core": "^7.8.3",
    "@babel/plugin-transform-runtime": "^7.15.8",
    "@babel/preset-env": "^7.9.5",
    "@babel/preset-react": "^7.9.4",
    "@babel/preset-typescript": "^7.9.0",
    "@commitlint/cli": "^19.8.1",
    "@commitlint/config-conventional": "^19.8.1",
    "@rollup/plugin-babel": "^5.3.0",
    "@rollup/plugin-commonjs": "^19.0.1",
    "@rollup/plugin-json": "^4.1.0",
    "@rollup/plugin-node-resolve": "^13.0.4",
    "@rollup/plugin-replace": "^3.0.0",
    "@rollup/plugin-url": "^6.0.0",
    "@tdesign/site-components": "^0.19.1",
    "@tdesign/theme-generator": "^1.2.2",
    "@testing-library/dom": "^10.4.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.3.0",
    "@testing-library/user-event": "^14.6.1",
    "@types/lodash-es": "^4.17.12",
    "@types/node": "^22.14.1",
    "@types/react": "^19.1.0",
    "@types/react-dom": "^19.1.1",
    "@types/react-transition-group": "^4.4.4",
    "@types/rimraf": "^4.0.5",
    "@types/tinycolor2": "^1.4.6",
    "@typescript-eslint/eslint-plugin": "^8.33.0",
    "@typescript-eslint/parser": "^8.33.0",
    "@vitejs/plugin-react": "^4.4.1",
    "@vitest/coverage-istanbul": "^3.2.4",
    "@vitest/coverage-v8": "^3.2.4",
    "@vitest/ui": "^3.2.4",
    "autoprefixer": "^10.4.0",
    "babel-jest": "^27.5.1",
    "babel-polyfill": "^6.26.0",
    "camelcase": "^6.2.1",
    "commitizen": "^4.2.4",
    "commitlint": "^19.8.1",
    "concurrently": "^6.4.0",
    "cross-env": "^10.0.0",
    "cssnano": "^5.0.12",
    "csstype": "^3.1.3",
    "cz-conventional-changelog": "^3.3.0",
    "dom-parser": "^1.1.5",
    "eslint": "^8.4.1",
    "eslint-config-airbnb": "^19.0.2",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-import": "^2.25.3",
    "eslint-plugin-jsx-a11y": "^6.5.1",
    "eslint-plugin-react": "^7.27.1",
    "eslint-plugin-react-hooks": "^4.3.0",
    "find-node-modules": "^2.1.2",
    "glob": "^10.4.5",
    "gray-matter": "^4.0.3",
    "husky": "^7.0.4",
    "inquirer": "^12.9.0",
    "jsdom": "^24.1.0",
    "less": "4.4.2",
    "lint-staged": "^15.2.9",
    "markdown-it-fence": "^0.1.3",
    "mockdate": "^3.0.5",
    "npm-run-all": "^4.1.5",
    "postcss": "^8.4.5",
    "prettier": "^3.3.3",
    "prismjs": "^1.25.0",
    "react": "^19.1.0",
    "react-dom": "^19.1.0",
    "react-router-dom": "^6.2.2",
    "rimraf": "^6.0.1",
    "rollup": "^2.55.0",
    "rollup-plugin-analyzer": "^4.0.0",
    "rollup-plugin-esbuild": "^4.5.0",
    "rollup-plugin-ignore-import": "^1.3.2",
    "rollup-plugin-multi-input": "^1.3.1",
    "rollup-plugin-postcss": "^4.0.1",
    "rollup-plugin-static-import": "^1.0.0",
    "rollup-plugin-styles": "^3.14.1",
    "rollup-plugin-terser": "^7.0.2",
    "rollup-plugin-typescript2": "^0.31.2",
    "typescript": "^5.8.3",
    "vite": "^6.2.3",
    "vite-plugin-pwa": "^1.0.0",
    "vite-plugin-tdoc": "^2.0.4",
    "vitest": "^3.2.4",
    "workbox-precaching": "^6.3.0"
  },
  "dependencies": {
    "@popperjs/core": "^2.11.8",
    "@types/sortablejs": "^1.15.9",
    "@use-gesture/react": "^10.2.10",
    "ahooks": "^3.8.5",
    "classnames": "^2.3.1",
    "csstype": "^3.1.3",
    "dayjs": "^1.11.13",
    "hoist-non-react-statics": "^3.3.2",
    "lodash-es": "^4.17.21",
    "react-transition-group": "^4.4.2",
    "smoothscroll-polyfill": "^0.4.4",
    "sortablejs": "^1.15.7",
    "tdesign-icons-react": "^0.6.6",
    "tinycolor2": "^1.6.0",
    "validator": "^13.15.15"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "lint-staged": {
    "src/**/*.{ts,tsx,js,jsx}": [
      "prettier --write",
      "npm run lint:fix"
    ]
  }
}
