mirror of
https://github.com/zuiidea/antd-admin.git
synced 2024-04-21 12:32:14 +00:00
127 lines
3.4 KiB
JSON
127 lines
3.4 KiB
JSON
{
|
|
"name": "antd-admin",
|
|
"version": "6.0.0-a.1",
|
|
"license": "MIT",
|
|
"description": "An admin dashboard application demo built upon Ant Design and UmiJS",
|
|
"dependencies": {
|
|
"@ant-design/icons": "^4.7.0",
|
|
"@ant-design/pro-layout": "^6.37.0",
|
|
"@lingui/core": "^3.13.3",
|
|
"@lingui/detect-locale": "^3.13.3",
|
|
"@lingui/react": "^3.13.3",
|
|
"antd": "^4.20.1",
|
|
"axios": "^0.27.2",
|
|
"classnames": "^2.3.1",
|
|
"dva-model-extend": "^0.1.2",
|
|
"echarts": "^5.3.2",
|
|
"echarts-for-react": "^3.0.2",
|
|
"echarts-gl": "^2.0.9",
|
|
"echarts-liquidfill": "^3.1.0",
|
|
"json-format": "^1.0.1",
|
|
"lodash": "^4.17.21",
|
|
"make-plural": "^7.1.0",
|
|
"md5": "^2.3.0",
|
|
"nprogress": "^0.2.0",
|
|
"path-to-regexp": "^6.2.0",
|
|
"prop-types": "^15.8.1",
|
|
"qs": "^6.10.3",
|
|
"react": "^18.1.0",
|
|
"react-countup": "^6.2.0",
|
|
"react-dom": "^18.1.0",
|
|
"react-helmet": "^6.1.0",
|
|
"react-highcharts": "^16.1.0",
|
|
"react-perfect-scrollbar": "^1.5.8",
|
|
"react-router-dom": "^6.3.0",
|
|
"recharts": "^2.1.9",
|
|
"store": "^2.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-react": "^7.16.7",
|
|
"@lingui/babel-preset-react": "^2.9.2",
|
|
"@lingui/cli": "^3.13.3",
|
|
"@lingui/loader": "^3.13.3",
|
|
"@lingui/macro": "^3.13.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
|
"@typescript-eslint/parser": "^5.21.0",
|
|
"babel-plugin-dev-expression": "^0.2.3",
|
|
"babel-plugin-import": "^1.13.5",
|
|
"babel-plugin-macros": "^3.1.0",
|
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.14.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-config-react-app": "^7.0.1",
|
|
"eslint-plugin-babel": "^5.3.1",
|
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-react": "^7.29.4",
|
|
"eslint-plugin-react-hooks": "^4.5.0",
|
|
"husky": "^7.0.4",
|
|
"less-vars-to-js": "^1.3.0",
|
|
"lint-staged": "^12.4.1",
|
|
"mockjs": "^1.1.0",
|
|
"prettier": "^2.6.2",
|
|
"stylelint": "^14.8.0",
|
|
"stylelint-config-prettier": "^9.0.3",
|
|
"stylelint-config-standard": "^25.0.0",
|
|
"typescript": "^4.6.4",
|
|
"umi": "4.0.0-canary.20220429.4"
|
|
},
|
|
"engines": {
|
|
"node": ">= 10.0.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": [
|
|
"npm run eslint",
|
|
"npm run prettier"
|
|
],
|
|
"*.less": [
|
|
"npm run stylelint",
|
|
"npm run prettier"
|
|
]
|
|
},
|
|
"lingui": {
|
|
"fallbackLocales": {
|
|
"default": "en"
|
|
},
|
|
"sourceLocale": "en",
|
|
"locales": [
|
|
"en",
|
|
"zh",
|
|
"pt-br"
|
|
],
|
|
"catalogs": [
|
|
{
|
|
"path": "src/locales/{locale}/messages",
|
|
"include": [
|
|
"src"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
],
|
|
"format": "minimal",
|
|
"runtimeConfigModule": [
|
|
"@/hooks/useIntlProvider",
|
|
"i18n"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"start": "umi dev",
|
|
"build": "cross-env UMI_ENV=prod umi build",
|
|
"test": "umi test",
|
|
"analyze": "cross-env ANALYZE=1 umi dev",
|
|
"eslint": "eslint --fix 'src/**/*.{ts,tsx,js.jsx}'",
|
|
"stylelint": "stylelint src/**/*.less --syntax less",
|
|
"prettier": "prettier --write 'src/**/*.{ts,tsx,js.jsx,less}'",
|
|
"precommit": "lint-staged",
|
|
"add-locale": "lingui add-locale",
|
|
"extract": "lingui extract",
|
|
"trans": "lingui extract --clean && node ./scripts/translate.js",
|
|
"doc": "docsify serve docs"
|
|
}
|
|
}
|