| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- {
- "name": "cldv2.0",
- "version": "7.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:qa": "cross-env REACT_APP_ENV=dev auto-deploy build -t qa",
- "deploy:prod": "cross-env REACT_APP_ENV=prod auto-deploy build -t prod",
- "deploy-gh-pages": "npm run site && npm run gh-pages",
- "dev": "npm run start:dev",
- "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",
- "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 --check \"src/**/*\" --end-of-line auto",
- "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
- "precommit": "lint-staged",
- "prettier": "prettier -c --write \"src/**/*\"",
- "start": "umi dev",
- "start:dev": "cross-env PORT=8080 REACT_APP_ENV=dev MOCK=none umi dev",
- "start:org": "cross-env PORT=8080 REACT_APP_ENV=org 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",
- "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,ts,tsx}": "npm run lint-staged:js",
- "**/*.{js,jsx,tsx,ts,less,md,json}": [
- "prettier --write"
- ]
- },
- "browserslist": [
- "> 1%",
- "last 2 versions",
- "not ie <= 10"
- ],
- "dependencies": {
- "@ant-design/charts": "1.3.2",
- "@ant-design/icons": "^4.0.0",
- "@ant-design/pro-form": "1.42.1",
- "@ant-design/pro-layout": "6.19.3",
- "@ant-design/pro-table": "2.60.0",
- "@icon-park/react": "^1.3.3",
- "@umijs/route-utils": "^1.0.33",
- "ahooks": "^2.10.0",
- "antd": "4.18.5",
- "antd-img-crop": "^3.16.0",
- "classnames": "^2.2.6",
- "crypto-js": "^4.0.0",
- "dayjs": "^1.10.4",
- "lodash-es": "^4.17.21",
- "omit.js": "^2.0.2",
- "qs": "^6.9.4",
- "rc-queue-anim": "^2.0.0",
- "rc-util": "^5.16.1",
- "react": "17.0.2",
- "react-copy-to-clipboard": "^5.0.4",
- "react-dom": "17.0.2",
- "react-infinite-scroll-component": "^6.1.0",
- "react-markdown": "^7.1.0",
- "umi": "3.5.4",
- "vditor": "^3.8.7",
- "virtuallist-antd": "^0.7.2"
- },
- "devDependencies": {
- "@ant-design/pro-cli": "^1.0.18",
- "@babel/plugin-proposal-class-properties": "^7.16.7",
- "@babel/plugin-proposal-decorators": "^7.17.2",
- "@babel/plugin-proposal-optional-chaining": "^7.13.12",
- "@babel/preset-env": "^7.16.11",
- "@babel/preset-react": "^7.16.7",
- "@types/classnames": "^2.2.7",
- "@types/express": "^4.17.0",
- "@types/history": "^4.7.2",
- "@types/jest": "^26.0.0",
- "@types/lodash": "^4.14.144",
- "@types/qs": "^6.5.3",
- "@types/react": "^16.9.17",
- "@types/react-dom": "^16.8.4",
- "@types/react-helmet": "^6.1.0",
- "@umijs/fabric": "^2.10.1",
- "@umijs/plugin-blocks": "^2.0.5",
- "@umijs/plugin-esbuild": "^1.0.1",
- "@umijs/preset-ant-design-pro": "^1.2.0",
- "@umijs/preset-react": "1.8.12",
- "@umijs/yorkie": "^2.0.3",
- "antd-dayjs-webpack-plugin": "^1.0.6",
- "babel-plugin-import": "^1.13.3",
- "carlo": "^0.9.46",
- "compression-webpack-plugin": "4.0.1",
- "cross-env": "^7.0.0",
- "cross-port-killer": "^1.1.1",
- "detect-installer": "^1.0.1",
- "eslint": "^7.18.0",
- "eslint-plugin-javascript": "^1.3.4",
- "eslint-plugin-jsx": "^0.1.0",
- "eslint-plugin-prettier": "^4.0.0",
- "eslint-plugin-typescript": "^0.14.0",
- "express": "^4.17.1",
- "gh-pages": "^3.0.0",
- "lint-staged": "^10.0.0",
- "prettier": "^2.2.1",
- "puppeteer-core": "^5.0.0",
- "stylelint": "^13.9.0",
- "typescript": "^4.0.3",
- "webpack": "^5.40.0",
- "windicss": "3.1.7",
- "windicss-webpack-plugin": "1.4.5"
- },
- "engines": {
- "node": ">=10.0.0"
- },
- "packageManager": "pnpm@6.32.4"
- }
|