123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- {
- "name": "ant-design-pro",
- "version": "2.2.1",
- "description": "An out-of-box UI solution for enterprise applications",
- "private": true,
- "scripts": {
- "presite": "cd functions && npm install",
- "start": "cross-env NODE_OPTIONS=--max-old-space-size=8000 APP_TYPE=site UMI_UI=none BROWSER=none umi dev",
- "start:no-mock": "cross-env MOCK=none umi dev",
- "build": "umi build",
- "build-prod": "cross-env UMI_ENV=prod umi build umi build",
- "site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy && npm run docker:push",
- "analyze": "cross-env ANALYZE=1 umi build",
- "lint:style": "stylelint 'src/**/*.less' --syntax less",
- "lint:prettier": "check-prettier lint",
- "lint": "eslint --ext .js src mock tests && npm run lint:style && npm run lint:prettier",
- "lint:fix": "eslint --fix --ext .js src mock tests && stylelint --fix 'src/**/*.less' --syntax less",
- "lint-staged": "lint-staged",
- "lint-staged:js": "eslint --ext .js",
- "tslint": "npm run tslint:fix",
- "tslint:fix": "tslint --fix 'src/**/*.ts*'",
- "test": "umi test",
- "test:component": "umi test ./src/components",
- "test:all": "node ./tests/run-tests.js",
- "prettier": "node ./scripts/prettier.js",
- "docker:dev": "docker-compose -f ./docker/docker-compose.dev.yml up",
- "docker:build": "docker-compose -f ./docker/docker-compose.dev.yml build",
- "docker-prod:dev": "docker-compose -f ./docker/docker-compose.yml up",
- "docker-prod:build": "docker-compose -f ./docker/docker-compose.yml build",
- "docker-hub:build": "docker build -f Dockerfile.hub -t ant-design-pro ./",
- "docker:tag": "docker tag ant-design-pro antdesign/ant-design-pro",
- "docker:push": "npm run docker-hub:build && npm run docker:tag && docker push antdesign/ant-design-pro"
- },
- "dependencies": {
- "@ant-design/compatible": "^1.0.0",
- "@ant-design/icons": "^4.0.0",
- "@ant-design/pro-layout": "^5.0.0",
- "@antv/data-set": "^0.10.1",
- "@antv/g2": "^3.5.9",
- "@antv/x6": "^1.32.3",
- "@antv/xflow": "^1.0.48",
- "@babel/runtime": "^7.3.1",
- "@opuscapita/react-filemanager": "^1.1.0-beta.6",
- "@opuscapita/react-filemanager-connector-node-v1": "^1.1.0-beta.6",
- "ahooks": "^3.7.8",
- "antd": "^4.0.0",
- "array-move": "^3.0.1",
- "axios": "^0.24.0",
- "bizcharts": "^3.5.5",
- "bizcharts-plugin-slider": "^2.1.1-beta.1",
- "braft-editor": "^2.3.9",
- "caniuse-lite": "^1.0.30001165",
- "classnames": "^2.2.6",
- "compression-webpack-plugin": "6.0.0",
- "dingtalk-jsapi": "^2.15.4",
- "dva": "^2.4.1",
- "enquire-js": "^0.2.1",
- "exceljs": "^4.3.0",
- "fecha": "2.3.1",
- "file-saver": "1.3.3",
- "filesize": "3.5.11",
- "flv.js": "^1.5.0",
- "gg-editor": "^3.1.3",
- "griffith": "^1.5.0",
- "hash.js": "^1.1.7",
- "jszip": "^3.5.0",
- "less-loader": "^10.2.0",
- "lodash": "^4.17.11",
- "lodash-decorators": "^6.0.1",
- "luckyexcel": "^1.0.1",
- "memoize-one": "^5.0.0",
- "moment": "^2.24.0",
- "nanoid": "1.0.0",
- "numeral": "^2.0.6",
- "nzh": "^1.0.4",
- "omit.js": "^1.0.0",
- "path-to-regexp": "^3.0.0",
- "prop-types": "^15.6.2",
- "qrcode.react": "^3.1.0",
- "qs": "^6.6.0",
- "range-parser": "1.2.0",
- "rc-animate": "^2.6.0",
- "react": "^16.7.0",
- "react-color": "^2.19.3",
- "react-container-query": "^0.11.0",
- "react-copy-to-clipboard": "^5.0.1",
- "react-document-title": "^2.0.3",
- "react-dom": "^16.7.0",
- "react-excel-renderer": "^1.1.0",
- "react-fittext": "^1.0.0",
- "react-gantt-timeline": "^0.4.0",
- "react-grid-layout": "^1.2.5",
- "react-id-swiper": "^2.4.0",
- "react-keyed-file-browser": "^1.5.2",
- "react-media": "^1.9.2",
- "react-pdf": "^5.1.0",
- "react-resizable": "^3.0.4",
- "react-router-dom": "^4.3.1",
- "react-sizeme": "^2.6.7",
- "react-sortable-hoc": "^2.0.0",
- "react-zmage": "^0.8.5",
- "xlsx": "^0.18.5"
- },
- "devDependencies": {
- "@types/react": "^16.8.1",
- "@types/react-dom": "^16.0.11",
- "antd-pro-merge-less": "^1.0.0",
- "antd-theme-webpack-plugin": "^1.2.0",
- "babel-eslint": "^10.0.1",
- "chalk": "^2.4.2",
- "check-prettier": "^1.0.1",
- "cross-env": "^5.2.0",
- "cross-port-killer": "^1.0.1",
- "echarts": "^4.8.0",
- "enzyme": "^3.9.0",
- "eslint": "^5.13.0",
- "eslint-config-airbnb": "^17.1.0",
- "eslint-config-prettier": "^4.0.0",
- "eslint-plugin-babel": "^5.3.0",
- "eslint-plugin-compat": "^2.6.3",
- "eslint-plugin-import": "^2.16.0",
- "eslint-plugin-jsx-a11y": "^6.2.0",
- "eslint-plugin-markdown": "^1.0.0",
- "eslint-plugin-react": "^7.12.4",
- "gh-pages": "^2.0.1",
- "husky": "^1.3.1",
- "jest-puppeteer": "^4.0.0",
- "less": "3.13.1",
- "lint-staged": "^8.1.1",
- "merge-umi-mock-data": "^1.0.4",
- "mockjs": "^1.0.1-beta3",
- "prettier": "^1.16.4",
- "stylelint": "^9.10.1",
- "stylelint-config-css-modules": "^1.3.0",
- "stylelint-config-prettier": "^5.0.0",
- "stylelint-config-rational-order": "^0.0.4",
- "stylelint-config-standard": "^18.2.0",
- "stylelint-declaration-block-no-ignored-properties": "^1.1.0",
- "stylelint-order": "^2.0.0",
- "tslint": "^5.12.1",
- "tslint-config-prettier": "^1.17.0",
- "tslint-react": "^3.6.0",
- "typescript": "^4.4.4",
- "umi": "^2.4.4",
- "umi-plugin-ga": "^1.1.3",
- "umi-plugin-react": "^1.4.2"
- },
- "optionalDependencies": {
- "puppeteer": "^1.12.1"
- },
- "lint-staged": {
- "**/*.{js,ts,tsx,json,jsx,less}": [
- "node ./scripts/lint-prettier.js",
- "git add"
- ],
- "**/*.{js,jsx}": "npm run lint-staged:js",
- "**/*.less": "stylelint --syntax less"
- },
- "engines": {
- "node": ">=8.0.0"
- },
- "browserslist": [
- "> 1%",
- "last 2 versions",
- "not ie <= 10"
- ],
- "checkFiles": [
- "src/**/*.js*",
- "src/**/*.ts*",
- "src/**/*.less",
- "config/**/*.js*",
- "scripts/**/*.js"
- ],
- "husky": {
- "hooks": {}
- }
- }
|