| { |
| "name": "inlong", |
| "version": "0.1.0", |
| "private": true, |
| "dependencies": { |
| "@ant-design/icons": "^5.0.1", |
| "@ant-design/pro-layout": "^7.10.3", |
| "ahooks": "^2.10.0", |
| "antd": "^5.3.3", |
| "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.4.0" |
| }, |
| "scripts": { |
| "analyze": "source-map-explorer 'build/static/js/*.js'", |
| "dev": "npm start", |
| "start": "vite --host", |
| "build": "craco build", |
| "test": "craco 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' --custom-syntax postcss-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": { |
| "@craco/craco": "^7.0.0", |
| "@testing-library/jest-dom": "^5.16.4", |
| "@testing-library/react": "^13.1.1", |
| "@testing-library/user-event": "^14.1.1", |
| "@types/craco__craco": "^6.4.0", |
| "@types/jest": "^27.4.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", |
| "@vitejs/plugin-react": "^2.0.1", |
| "babel-plugin-import": "^1.13.5", |
| "craco-less": "^2.1.0-alpha.0", |
| "dotenv": "^16.0.3", |
| "eslint": "^8.22.0", |
| "eslint-config-prettier": "^8.5.0", |
| "eslint-plugin-prettier": "^4.2.1", |
| "http-proxy-middleware": "^1.0.1", |
| "husky": "^8.0.1", |
| "lint-staged": "^12.3.8", |
| "postcss": "^8.4.16", |
| "postcss-less": "^6.0.0", |
| "prettier": "^2.6.2", |
| "react-app-alias": "^2.2.2", |
| "react-scripts": "^5.0.1", |
| "source-map-explorer": "^2.5.2", |
| "stylelint": "^14.7.1", |
| "stylelint-config-prettier": "^9.0.3", |
| "stylelint-config-standard": "^28.0.0", |
| "typescript": "^4.7.4", |
| "vite": "^3.0.9", |
| "vite-plugin-dynamic-import": "^1.1.1", |
| "vite-plugin-eslint": "^1.8.1", |
| "vite-plugin-imp": "^2.2.0", |
| "vite-plugin-svgr": "^2.2.1", |
| "vite-tsconfig-paths": "^3.5.0" |
| } |
| } |