package.json 4.45 KB
{
  "name": "feewee-admin-system",
  "version": "4.0.0",
  "private": true,
  "description": "霏微汽车云平台",
  "scripts": {
    "analyze": "cross-env ANALYZE=1 umi build",
    "build:prod": "cross-env REACT_APP_ENV=prod umi build",
    "build:unset": "cross-env REACT_APP_ENV=dev umi build",
    "lint": "npm run lint:js && npm run lint:style && npm run lint:prettier",
    "lint-staged": "lint-staged",
    "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
    "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",
    "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./",
    "lint:prettier": "check-prettier lint",
    "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
    "prettier": "prettier -c --write \"**/*\"",
    "site": "cross-env npm run fetch:blocks && npm run build && npm run functions:build",
    "start": "cross-env HOST=devlocal.feewee.cn umi dev",
    "start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_UI=none HOST=devlocal.feewee.cn umi dev",
    "start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_UI=none HOST=testlocal.feewee.cn umi dev",
    "start:prod": "cross-env REACT_APP_ENV=prod MOCK=none UMI_UI=none HOST=local.feewee.cn umi dev",
    "test": "umi test",
    "test:all": "node ./tests/run-tests.js",
    "test:component": "umi test ./src/components",
    "package": "chmod +x ./build.sh && ./build.sh"
  },
  "husky": {
    "hooks": {}
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 10"
  ],
  "dependencies": {
    "@amap/amap-jsapi-loader": "^1.0.1",
    "@ant-design/colors": "^6.0.0",
    "@ant-design/compatible": "^1.0.1",
    "@ant-design/pro-descriptions": "^1.9.10",
    "@ant-design/pro-layout": "^6.24.1",
    "@antv/data-set": "^0.10.2",
    "@types/js-cookie": "^2.2.2",
    "@types/qrcode.react": "^1.0.1",
    "@types/react-image-crop": "^8.1.2",
    "antd": "~4.23.0",
    "array-move": "^4.0.0",
    "await-to-js": "^2.1.1",
    "axios": "^0.19.2",
    "bizcharts": "^3.5.5",
    "braft-editor": "^2.3.7",
    "braft-utils": "^3.0.12",
    "classnames": "^2.2.6",
    "copy-to-clipboard": "^3.3.1",
    "cos-js-sdk-v5": "0.5.26",
    "currency.js": "^2.0.3",
    "dayjs": "^1.11.7",
    "global": "^4.4.0",
    "image-conversion": "^2.1.1",
    "immer": "^7.0.5",
    "js-cookie": "^2.2.1",
    "jsonp": "^0.2.1",
    "localforage": "^1.7.4",
    "lrz": "^4.9.40",
    "mobx": "5.15.4",
    "mobx-react-lite": "1.5.2",
    "moment": "^2.24.0",
    "omit.js": "^1.0.2",
    "path-to-regexp": "^3.0.0",
    "qrcode.react": "^1.0.0",
    "qs": "^6.7.0",
    "react-amap": "^1.2.8",
    "react-beautiful-dnd": "^13.1.0",
    "react-bmap": "^1.0.130",
    "react-copy-to-clipboard": "^5.0.1",
    "react-document-title": "^2.0.3",
    "react-image-crop": "^8.6.2",
    "react-sortable-hoc": "^2.0.0",
    "spark-md5": "^3.0.2",
    "typescript": "3.8.3",
    "umi": "^3.5.0",
    "umi-request": "1.3.5",
    "use-merge-value": "^1.0.1",
    "webpack-theme-color-replacer": "^1.3.11"
  },
  "devDependencies": {
    "@amap/amap-jsapi-loader": "^1.0.1",
    "@ant-design/pro-cli": "^2.1.5",
    "@ant-design/pro-form": "^1.49.0",
    "@ant-design/pro-table": "^2.57.2",
    "@types/classnames": "^2.2.7",
    "@types/express": "^4.17.0",
    "@types/history": "^4.7.2",
    "@types/jest": "^24.0.13",
    "@types/js-cookie": "^2.2.2",
    "@types/lodash": "^4.14.133",
    "@types/qrcode.react": "^1.0.1",
    "@types/qs": "^6.5.3",
    "@types/react": "^16.8.19",
    "@types/react-document-title": "^2.0.3",
    "@types/react-dom": "^16.8.4",
    "@types/react-image-crop": "^8.1.2",
    "@typescript-eslint/parser": "^4.21.0",
    "@umijs/fabric": "^2.0.5",
    "@umijs/plugin-blocks": "^2.0.5",
    "@umijs/preset-ant-design-pro": "^1.2.0",
    "@umijs/preset-react": "^1.4.16",
    "@umijs/preset-ui": "^2.1.11",
    "chalk": "^2.4.2",
    "check-prettier": "^1.0.3",
    "cross-env": "^7.0.0",
    "cross-port-killer": "^1.1.1",
    "enzyme": "^3.9.0",
    "eslint": "^7.19.0",
    "eslint-config-airbnb": "^18.2.1",
    "eslint-plugin-compat": "^3.9.0",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-jsx-a11y": "^6.4.1",
    "eslint-plugin-react": "^7.22.0",
    "express": "^4.17.1",
    "gh-pages": "^2.0.1",
    "husky": "^3.0.0",
    "lint-staged": "^9.0.0",
    "mockjs": "^1.0.1-beta3",
    "prettier": "^2.2.1",
    "pro-download": "1.0.1",
    "serverless-http": "^2.0.2",
    "stylelint": "^10.1.0"
  },
  "engines": {
    "node": ">=10.0.0"
  }
}