package.json 3.17 KB
{
  "name": "@qx/common",
  "version": "3.0.0-alpha.48",
  "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",
    "test": "jest"
  },
  "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",
    "identity-obj-proxy": "^3.0.0",
    "jest-cli": "^29.7.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": {
    "@babel/core": "^7.23.0",
    "@babel/preset-env": "^7.22.20",
    "@babel/preset-react": "^7.22.15",
    "@babel/preset-typescript": "^7.23.0",
    "@commitlint/cli": "^17.1.2",
    "@commitlint/config-conventional": "^17.1.0",
    "@jest/globals": "^29.7.0",
    "@qx/utils": "0.0.58",
    "@testing-library/jest-dom": "^6.1.3",
    "@testing-library/react": "^14.0.0",
    "@types/codemirror": "^5.60.10",
    "@types/hot-formula-parser": "^4.0.1",
    "@types/jest": "^29.5.5",
    "@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",
    "@types/react-test-renderer": "^18.0.3",
    "@umijs/lint": "^4.0.0",
    "ahooks": "^3.7.5",
    "antd": "^5.8.4",
    "babel-jest": "^29.7.0",
    "dumi": "^2.2.0",
    "eslint": "^8.23.0",
    "father": "^4.1.0",
    "husky": "^8.0.1",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "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",
    "react-test-renderer": "^18.2.0",
    "stylelint": "^14.9.1",
    "ts-jest": "^29.1.1",
    "typescript": "^5.2.2"
  },
  "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": []
}