umi-tablayout

This commit is contained in:
lix
2025-07-07 16:40:14 +08:00
parent 736f004b6b
commit 1e940183cd
186 changed files with 525 additions and 294 deletions

View File

@ -4,16 +4,16 @@
"private": true,
"description": "An out-of-box UI solution for enterprise applications",
"scripts": {
"start-dev": "set NODE_OPTIONS=--openssl-legacy-provider & cross-env UMI_UI=none UMI_ENV=dev LOGIN_PATH=ebtp-frontend umi dev --port=3000",
"start-UAT": "set NODE_OPTIONS=--openssl-legacy-provider & cross-env UMI_UI=none UMI_ENV=UAT LOGIN_PATH=ebtp-frontend umi dev --port=3000",
"start-sim": "set NODE_OPTIONS=--openssl-legacy-provider & cross-env UMI_UI=none UMI_ENV=sim LOGIN_PATH=ebtp-frontend umi dev --port=3000",
"start-prod": "cross-env UMI_UI=none UMI_ENV=prod LOGIN_PATH=prod/ebtp-frontend umi dev --port=3000",
"build-dev": "cross-env UMI_ENV=dev LOGIN_PATH=ebtp-frontend umi build",
"build-UAT": "cross-env UMI_ENV=UAT LOGIN_PATH=ebtp-frontend umi build",
"build-sim": "cross-env UMI_ENV=sim LOGIN_PATH=ebtp-frontend umi build",
"build-prod": "cross-env UMI_ENV=prod LOGIN_PATH=prod/ebtp-frontend umi build",
"analyze": "cross-env ANALYZE=1 umi build",
"build": "umi build",
"start-dev": "set NODE_OPTIONS=--openssl-legacy-provider & cross-env UMI_UI=none UMI_ENV=dev LOGIN_PATH=ebtp-frontend PORT=3000 max dev",
"start-UAT": "set NODE_OPTIONS=--openssl-legacy-provider & cross-env UMI_UI=none UMI_ENV=UAT LOGIN_PATH=ebtp-frontend PORT=3000 max dev",
"start-sim": "set NODE_OPTIONS=--openssl-legacy-provider & cross-env UMI_UI=none UMI_ENV=sim LOGIN_PATH=ebtp-frontend PORT=3000 max dev",
"start-prod": "cross-env UMI_UI=none UMI_ENV=prod LOGIN_PATH=prod/ebtp-frontend PORT=3000 max dev",
"build-dev": "cross-env UMI_ENV=dev LOGIN_PATH=ebtp-frontend max build",
"build-UAT": "cross-env UMI_ENV=UAT LOGIN_PATH=ebtp-frontend max build",
"build-sim": "cross-env UMI_ENV=sim LOGIN_PATH=ebtp-frontend max build",
"build-prod": "cross-env UMI_ENV=prod LOGIN_PATH=prod/ebtp-frontend max build",
"analyze": "cross-env ANALYZE=1 max build",
"build": "max build",
"deploy": "npm run site && npm run gh-pages",
"dev": "npm run start:dev",
"docker-hub:build": "docker build -f Dockerfile.hub -t ant-design-pro ./",
@ -26,8 +26,8 @@
"fetch:blocks": "pro fetch-blocks && npm run prettier",
"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",
"postinstall": "max setup",
"lint": "max setup && npm run lint:js && npm run lint:style && npm run lint:prettier",
"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",
@ -35,15 +35,15 @@
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"prettier": "prettier -c --write \"src/**/*\"",
"site": "npm run fetch:blocks && npm run build",
"start:dev": "cross-env REACT_APP_ENV=dev MOCK=none umi dev",
"start:no-mock": "cross-env MOCK=none umi dev",
"start:no-ui": "cross-env UMI_UI=none umi dev",
"start:pre": "cross-env REACT_APP_ENV=pre umi dev",
"start:test": "cross-env REACT_APP_ENV=test MOCK=none umi dev",
"start:dev": "cross-env REACT_APP_ENV=dev MOCK=none max dev",
"start:no-mock": "cross-env MOCK=none max dev",
"start:no-ui": "cross-env UMI_UI=none max dev",
"start:pre": "cross-env REACT_APP_ENV=pre max dev",
"start:test": "cross-env REACT_APP_ENV=test MOCK=none max dev",
"pretest": "node ./tests/beforeTest",
"test": "umi test",
"test": "max test",
"test:all": "node ./tests/run-tests.js",
"test:component": "umi test ./src/components",
"test:component": "max test ./src/components",
"tsc": "tsc --noEmit"
},
"lint-staged": {
@ -86,18 +86,17 @@
"react-cookies": "0.1.1",
"react-dom": "16.14.0",
"react-fast-marquee": "1.3.2",
"react-helmet-async": "^1.0.9",
"react-player": "^2.12.0",
"react-signature-canvas": "^1.0.3",
"react-sortable-hoc": "^1.11.0",
"sm-crypto": "0.2.5",
"umi": "^3.4.8",
"@umijs/max": "^4.0.0",
"umi-request": "^1.3.5",
"use-merge-value": "1.0.2",
"wangeditor": "4.7.5"
},
"devDependencies": {
"@ant-design/pro-cli": "^1.0.18",
"@alita/plugins": "^3.5.5",
"@types/classnames": "^2.2.7",
"@types/express": "^4.17.0",
"@types/history": "^4.7.2",
@ -108,12 +107,7 @@
"@types/react-dom": "^16.8.4",
"@types/react-helmet": "^6.1.0",
"@types/react-signature-canvas": "^1.0.2",
"@umijs/fabric": "^2.2.0",
"@umijs/plugin-blocks": "^2.0.5",
"@umijs/preset-ant-design-pro": "^1.2.0",
"@umijs/preset-react": "^1.4.8",
"@umijs/preset-ui": "^2.0.9",
"@umijs/yorkie": "^2.0.3",
"@umijs/lint": "^4.0.0",
"carlo": "^0.9.46",
"chalk": "^4.0.0",
"cross-env": "^7.0.3",