| { |
| "name": "inlong", |
| "version": "0.1.0", |
| "private": true, |
| "dependencies": { |
| "@ant-design/icons": "^4.5.0", |
| "@ant-design/pro-layout": "^6.15.0", |
| "ahooks": "^2.10.0", |
| "antd": "^4.15.1", |
| "dayjs": "^1.10.4", |
| "echarts": "^5.2.2", |
| "i18next": "^20.3.1", |
| "lodash": "^4.17.21", |
| "nprogress": "^0.2.0", |
| "path-to-regexp": "^6.2.0", |
| "react": "17.0.1", |
| "react-dom": "17.0.1", |
| "react-i18next": "^11.10.0", |
| "react-redux": "^7.2.0", |
| "react-router-dom": "^5.2.0", |
| "redux": "^4.0.5", |
| "umi-request": "^1.3.5" |
| }, |
| "scripts": { |
| "analyze": "source-map-explorer 'build/static/js/*.js'", |
| "dev": "npm start", |
| "start": "react-app-rewired start", |
| "build": "react-app-rewired build", |
| "test": "react-app-rewired test", |
| "commit": "git cz", |
| "prettier": "prettier --write 'src/**/*.{ts,tsx,js}'", |
| "eslint": "eslint --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx,js}'", |
| "stylelint": "stylelint 'src/**/*.less' --syntax less --allow-empty-input" |
| }, |
| "browserslist": { |
| "production": [ |
| ">0.2%", |
| "not dead", |
| "not op_mini all" |
| ], |
| "development": [ |
| "last 1 chrome version", |
| "last 1 firefox version", |
| "last 1 safari version" |
| ] |
| }, |
| "lint-staged": { |
| "*.{ts,tsx}": [ |
| "npm run eslint", |
| "npm run prettier" |
| ], |
| "*.{less}": [ |
| "npm run stylelint" |
| ] |
| }, |
| "pre-commit": "lint-staged", |
| "husky": { |
| "hooks": { |
| "pre-commit": "lint-staged" |
| } |
| }, |
| "devDependencies": { |
| "@hot-loader/react-dom": "=16.13.0", |
| "@testing-library/jest-dom": "^4.2.4", |
| "@testing-library/react": "^9.3.2", |
| "@testing-library/user-event": "^7.1.2", |
| "@types/jest": "^25.2.1", |
| "@types/lodash": "^4.14.168", |
| "@types/node": "^13.13.5", |
| "@types/react": "^16.9.41", |
| "@types/react-dom": "^16.9.8", |
| "@types/react-redux": "^7.1.9", |
| "@types/react-router-dom": "^5.1.5", |
| "antd-dayjs-webpack-plugin": "^1.0.0", |
| "babel-plugin-import": "^1.13.0", |
| "customize-cra": "^1.0.0-alpha.0", |
| "customize-cra-react-refresh": "^1.1.0", |
| "eslint": "^6.8.0", |
| "eslint-config-prettier": "^6.10.0", |
| "eslint-config-react-app": "^5.2.0", |
| "eslint-plugin-prettier": "^3.1.2", |
| "eslint-plugin-react": "^7.19.0", |
| "eslint-plugin-react-hooks": "^4.0.2", |
| "http-proxy-middleware": "^1.0.1", |
| "husky": "^4.2.5", |
| "less": "^3.11.1", |
| "less-loader": "^6.1.0", |
| "lint-staged": "^10.2.2", |
| "prettier": "^2.0.5", |
| "react-app-rewire-hot-loader": "^2.0.1", |
| "react-app-rewired": "^2.1.5", |
| "react-scripts": "3.4.0", |
| "source-map-explorer": "^2.3.1", |
| "stylelint": "^13.3.3", |
| "stylelint-config-prettier": "^8.0.1", |
| "stylelint-config-standard": "^20.0.0", |
| "typescript": "^3.9.7" |
| } |
| } |