{ "name": "ant-design-pro", "version": "1.0.0", "private": true, "description": "An out-of-box UI solution for enterprise applications", "scripts": { "analyze": "cross-env ANALYZE=1 umi build", "build": "umi build", "deploy": "npm run build && npm run gh-pages", "dev": "npm run start:dev", "gh-pages": "gh-pages -d dist", "i18n-remove": "pro i18n-remove --locale=zh-CN --write", "postinstall": "umi g tmp", "lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier && npm run tsc", "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 ./src", "lint:prettier": "prettier -c --write \"src/**/*\" --end-of-line auto", "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less", "openapi": "umi openapi", "precommit": "lint-staged", "prettier": "prettier -c --write \"src/**/*\"", "serve": "umi-serve", "start": "umi dev", "start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev umi dev", "start:no-mock": "cross-env MOCK=none UMI_ENV=dev umi dev", "start:no-ui": "cross-env UMI_UI=none UMI_ENV=dev umi dev", "start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev umi dev", "start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev umi dev", "pretest": "node ./tests/beforeTest", "test": "umi test", "test:all": "node ./tests/run-tests.js", "test:component": "umi test ./src/components", "tsc": "tsc --noEmit" }, "lint-staged": { "**/*.less": "stylelint --syntax less", "**/*.{js,jsx,tsx,ts,less,md,json}": [ "prettier --write", "git add" ], "**/*.{js,jsx}": "npm run lint-staged:js", "**/*.{js,ts,tsx}": "npm run lint-staged:js" }, "browserslist": [ "> 1%", "last 2 versions", "not ie <= 10" ], "dependencies": { "@ant-design/compatible": "^1.0.8", "@ant-design/pro-form": "^1.43.5", "@ant-design/pro-layout": "^6.26.5", "@ant-design/pro-table": "^2.56.3", "@antv/data-set": "^0.10.2", "@umijs/plugin-esbuild": "^1.4.1", "ahooks": "^3.0.1", "ahooks-v2": "^2.10.15", "antd": "^4.17.3", "classnames": "^2.2.6", "decimal.js": "^10.2.0", "dva": "^2.6.0-beta.16", "echarts": "^4.6.0", "js-base64": "^2.5.2", "jszip": "^3.6.0", "jszip-utils": "^0.1.0", "lodash": "^4.17.11", "lottie-web": "^5.7.3", "moment": "^2.24.0", "mux.js": "^5.5.1", "numeral": "^2.0.6", "omit.js": "^1.0.2", "path-to-regexp": "2.4.0", "qs": "^6.9.0", "react": "^16.8.6", "react-color": "^2.18.1", "react-copy-to-clipboard": "^5.0.1", "react-dom": "^16.8.6", "react-helmet": "^5.2.1", "react-player": "^1.15.2", "react-zmage": "^0.8.5", "reactcss": "^1.2.3", "svgaplayerweb": "^2.3.0", "umi": "^3.5.20", "umi-request": "^1.4.0" }, "devDependencies": { "@ant-design/icons": "^4.6.4", "@ant-design/pro-cli": "^1.0.14", "@types/classnames": "^2.2.7", "@types/express": "^4.17.0", "@types/history": "^4.7.2", "@types/jest": "^24.0.23", "@types/lodash": "^4.14.144", "@types/qs": "^6.5.3", "@types/react": "^16.8.19", "@types/react-dom": "^16.8.4", "@types/react-helmet": "^5.0.13", "@umijs/fabric": "^2.0.0-beta.3", "@umijs/preset-react": "^1.8.17", "browser-md5-file": "^1.1.1", "check-prettier": "^1.0.3", "cross-env": "^6.0.0", "cross-port-killer": "^1.1.1", "enzyme": "^3.9.0", "eslint-plugin-react-hooks": "^2.3.0", "express": "^4.17.1", "gh-pages": "^2.0.1", "import-sort-cli": "^6.0.0", "import-sort-parser-babylon": "^6.0.0", "import-sort-parser-typescript": "^6.0.0", "import-sort-style-module": "^6.0.0", "jest-puppeteer": "^4.2.0", "jsdom-global": "^3.0.2", "lint-staged": "^9.0.0", "mockjs": "^1.0.1-beta3", "node-fetch": "^2.6.0", "prettier": "^2.3.2", "qiniu-js": "^2.5.5", "react-zmage": "^0.8.5", "stylelint": "^12.0.0", "svgaplayerweb": "^2.3.0", "uid": "^2.0.0" }, "optionalDependencies": {}, "engines": { "node": ">=10.0.0" }, "checkFiles": [ "src/**/*.js*", "src/**/*.ts*", "src/**/*.less", "config/**/*.js*", "scripts/**/*.js" ] }