{
  "name": "kwai-ui",
  "version": "1.2.44",
  "description": "kwai-ui",
  "scripts": {
    "start": "docz dev",
    "gen": "HYGEN_TMPLS=src/_templates hygen comp new",
    "pubWithIcon": "npm run build:icon && npm run updateIconPackage && npm run packages && npm run update-icon && npm --no-git-tag-version version patch && git add . && git commit -m  'auto publish: bug fixes' && git push  && npm publish",
    "pub": "npm run build && npm --no-git-tag-version version patch && git add . && git commit -m  'auto publish: bug fixes' && git push  && npm publish",
    "build": "SKIP_PREFLIGHT_CHECK=true react-cli build --log --library",
    "analyze": "SKIP_PREFLIGHT_CHECK=true react-cli build --log --library -a",
    "updateIconPackage": "SKIP_PREFLIGHT_CHECK=true react-cli build --library && rsync -arz --delete build/icon.js packages/icon/",
    "packages": "(git add . && git commit -m 'push packages' && git push) && lerna publish --yes --cd-version=patch && npm run update-icon",
    "update-cli": "npm i -D @ad/react-cli@latest",
    "changelog": "changelog-maker -a --commit-url=http://git.corp.kuaishou.com/ks-ad/ad-fe/kwai-ui/commit/{ref} > src/docs/changelog.mdx ",
    "test": "< src/docs/changelog.mdx grep -vwE \"(publish|update|Publish|push packages)\" > ./src/docs/changelog1.mdx",
    "update-icon": "npm i -S --save-exact kwai-icon@latest",
    "doc": "npm run changelog && docz build && proxychains4 $(which rsync) -arz --delete .docz/dist/ web_server@bjpg-rs66.yz02::files/static-project/kwai-ui-doc",
    "build:icon": "styled-svg src/styles/icons/svg/*.svg --size=small:16x16 --size=medium:18x18 --size=large:24x24 --no-tests --clean --output-dir src/styles/icons/components"
  },
  "main": "build/kwai-ui.js",
  "typings": "index.d.ts",
  "dependencies": {
    "dayjs": "^1.8.16",
    "kwai-icon": "1.1.14",
    "resize-observer-polyfill": "^1.5.1"
  },
  "devDependencies": {
    "@ad/react-cli": "^1.2.1",
    "@types/react": "^16.9.1",
    "@types/react-color": "^3.0.1",
    "@types/react-dom": "^16.8.5",
    "@types/react-router-dom": "^4.3.4",
    "@types/styled-components": "^4.1.18",
    "axios": "^0.19.0",
    "changelog-maker": "^2.3.0",
    "classnames": "^2.2.6",
    "docz": "^1.2.0",
    "docz-plugin-css": "^0.11.0",
    "docz-theme-default": "^1.2.0",
    "facepaint": "^1.2.1",
    "hygen": "^4.0.8",
    "lerna": "^3.16.4",
    "polished": "^3.3.0",
    "prismjs": "1.15.0",
    "react": "^16.8.6",
    "react-color": "^2.17.3",
    "react-dom": "^16.8.6",
    "react-images": "^0.5.19",
    "react-router-dom": "^5.0.1",
    "react-spring": "^8.0.27",
    "styled-components": "^4.3.2",
    "styled-svg": "^2.4.5",
    "typescript": "3.5.3"
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ],
  "eslintConfig": {
    "extends": "react-app"
  },
  "react-cli-config": {
    "babelPlugins": [],
    "entry": {
      "index": "src/components/index"
    },
    "library": {
      "library": "kwai-ui",
      "libraryTarget": "commonjs2"
    },
    "externalize": [
      "axios",
      "styled-components",
      "react-dom",
      "react-router-dom",
      "react",
      "kwai-icon",
      "react-spring"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
      "prettier --config ./node_modules/@ks/prettier-config-ks/index.js --write",
      "git add"
    ]
  },
  "license": "MIT",
  "repository": {
    "url": "http://git.corp.kuaishou.com/ks-ad/ad-fe/kwai-ui",
    "type": "git"
  }
}
