package.json 2.57 KB
{
  "name": "@qx/common",
  "version": "3.0.0-alpha.52",
  "description": "A react library developed with dumi",
  "license": "MIT",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "father build",
    "build:watch": "father dev",
    "dev": "dumi dev",
    "docs:build": "dumi build",
    "doctor": "father doctor",
    "lint": "npm run lint:es && npm run lint:css",
    "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
    "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
    "prepublishOnly": "father doctor && npm run build",
    "start": "npm run dev"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "lint-staged": {
    "*.{md,json}": [
      "prettier --write --no-error-on-unmatched-pattern"
    ],
    "*.{css,less}": [
      "stylelint --fix",
      "prettier --write"
    ],
    "*.{js,jsx}": [
      "eslint --fix",
      "prettier --write"
    ],
    "*.{ts,tsx}": [
      "eslint --fix",
      "prettier --parser=typescript --write"
    ]
  },
  "dependencies": {
    "@ant-design/icons": "^5.2.5",
    "@qx/flow": "^1.0.0-alpha.23",
    "@qx/ui": "0.0.3-beta.1",
    "@qx/utils": "0.0.58",
    "ahooks": "^3.7.5",
    "classnames": "^2.3.2",
    "codemirror": "5.65.8",
    "dayjs": "^1.11.9",
    "hot-formula-parser": "^4.0.0",
    "js-beautify": "^1.14.9",
    "jshint": "^2.13.6",
    "lodash-es": "^4.17.21",
    "rc-virtual-list": "^3.4.13",
    "react-codemirror2": "^7.2.1"
  },
  "devDependencies": {
    "@commitlint/cli": "^17.1.2",
    "@commitlint/config-conventional": "^17.1.0",
    "@qx/utils": "0.0.58",
    "@types/codemirror": "^5.60.10",
    "@types/hot-formula-parser": "^4.0.1",
    "@types/js-beautify": "^1.14.1",
    "@types/jshint": "^2.12.2",
    "@types/lodash-es": "^4.17.8",
    "@types/react": "^18.0.0",
    "@types/react-dom": "^18.0.0",
    "@umijs/lint": "^4.0.0",
    "ahooks": "^3.7.5",
    "antd": "^5.8.4",
    "dumi": "^2.2.0",
    "eslint": "^8.23.0",
    "father": "^4.1.0",
    "husky": "^8.0.1",
    "lint-staged": "^13.0.3",
    "prettier": "^2.7.1",
    "prettier-plugin-organize-imports": "^3.0.0",
    "prettier-plugin-packagejson": "^2.2.18",
    "react": "^18.0.0",
    "react-cookies": ">=0.1.1",
    "react-dom": "^18.0.0",
    "react-router": ">=4.3.1",
    "stylelint": "^14.9.1"
  },
  "peerDependencies": {
    "@qx/utils": "0.0.58",
    "ahooks": "^3.7.5",
    "antd": ">=5.8.4",
    "react": ">=16.9.0",
    "react-dom": ">=16.9.0",
    "react-router": ">=4.3.1"
  },
  "publishConfig": {
    "access": "public"
  },
  "authors": []
}