cfaaa12a创建于 2020年9月30日历史提交
{
    "name": "react-admin",
    "version": "3.0.0",
    "private": true,
    "homepage": ".",
    "dependencies": {
        "@ant-design/icons": "^4.2.2",
        "@babel/core": "7.6.0",
        "@svgr/webpack": "4.3.2",
        "@types/classnames": "^2.2.9",
        "@types/echarts": "^4.1.15",
        "@types/jest": "24.0.18",
        "@types/node": "12.7.11",
        "@types/nprogress": "^0.2.0",
        "@types/photoswipe": "^4.0.29",
        "@types/query-string": "^6.3.0",
        "@types/react": "^16.9.49",
        "@types/react-beautiful-dnd": "^12.1.2",
        "@types/react-color": "^3.0.1",
        "@types/react-document-title": "^2.0.3",
        "@types/react-dom": "^16.9.8",
        "@types/react-draft-wysiwyg": "^1.12.3",
        "@types/react-loadable": "^5.5.1",
        "@types/react-router-dom": "^5.1.0",
        "@types/recharts": "^1.1.21",
        "@typescript-eslint/eslint-plugin": "^3.9.1",
        "@typescript-eslint/parser": "^3.9.1",
        "ahooks": "^2.6.0",
        "antd": "^4.6.4",
        "axios": "^0.19.0",
        "babel-eslint": "10.0.3",
        "babel-jest": "^24.9.0",
        "babel-loader": "8.0.6",
        "babel-plugin-named-asset-import": "^0.3.4",
        "babel-preset-react-app": "^9.0.2",
        "camelcase": "^5.2.0",
        "case-sensitive-paths-webpack-plugin": "2.2.0",
        "css-loader": "2.1.1",
        "dotenv": "6.2.0",
        "dotenv-expand": "5.1.0",
        "draft-js": "^0.11.7",
        "draftjs-to-html": "^0.8.4",
        "draftjs-to-markdown": "^0.5.1",
        "echarts": "^4.3.0",
        "echarts-for-react": "^2.0.15-beta.1",
        "eslint": "^6.1.0",
        "eslint-config-react-app": "^5.0.2",
        "eslint-loader": "3.0.2",
        "eslint-plugin-flowtype": "3.13.0",
        "eslint-plugin-import": "2.18.2",
        "eslint-plugin-jsx-a11y": "6.2.3",
        "eslint-plugin-react": "7.14.3",
        "eslint-plugin-react-hooks": "^1.6.1",
        "file-loader": "3.0.1",
        "fs-extra": "7.0.1",
        "html-webpack-plugin": "4.0.0-beta.5",
        "identity-obj-proxy": "3.0.0",
        "is-wsl": "^1.1.0",
        "jest": "24.9.0",
        "jest-environment-jsdom-fourteen": "0.1.0",
        "jest-resolve": "24.9.0",
        "jest-watch-typeahead": "0.4.0",
        "mini-css-extract-plugin": "0.8.0",
        "nprogress": "^0.2.0",
        "optimize-css-assets-webpack-plugin": "5.0.3",
        "photoswipe": "^4.1.3",
        "pnp-webpack-plugin": "1.5.0",
        "postcss-flexbugs-fixes": "4.1.0",
        "postcss-loader": "3.0.0",
        "postcss-normalize": "7.0.1",
        "postcss-preset-env": "6.7.0",
        "postcss-safe-parser": "4.0.1",
        "rc-banner-anim": "^2.4.2",
        "react": "^16.10.2",
        "react-app-polyfill": "^1.0.4",
        "react-beautiful-dnd": "^13.0.0",
        "react-color": "^2.17.3",
        "react-dev-utils": "^9.1.0",
        "react-document-title": "^2.0.3",
        "react-dom": "^16.10.2",
        "react-draft-wysiwyg": "^1.13.2",
        "react-draggable": "^4.0.3",
        "react-loadable": "^5.5.0",
        "react-qmap": "^0.1.6",
        "react-router-dom": "^5.1.2",
        "recharts": "^1.7.1",
        "redux-alita": "^2.3.3",
        "resolve": "1.12.0",
        "resolve-url-loader": "3.1.0",
        "sass-loader": "7.2.0",
        "screenfull": "^5.0.0",
        "semver": "6.3.0",
        "style-loader": "1.0.0",
        "terser-webpack-plugin": "1.4.1",
        "ts-pnp": "1.1.4",
        "typescript": "3.9.7",
        "umbrella-storage": "^1.0.2",
        "url-loader": "2.1.0",
        "webpack": "4.41.0",
        "webpack-dev-server": "3.2.1",
        "webpack-manifest-plugin": "2.1.1",
        "workbox-webpack-plugin": "4.3.1"
    },
    "scripts": {
        "start": "node scripts/start.js dev",
        "build": "node scripts/build.js production",
        "starandsea": "node scripts/build.js starandsea",
        "test": "node scripts/test.js",
        "commit": "git-cz",
        "release": "standard-version"
    },
    "config": {
        "commitizen": {
            "path": "node_modules/cz-conventional-changelog"
        }
    },
    "husky": {
        "hooks": {
            "commit-msg": "commitlint -e $GIT_PARAMS",
            "pre-commit": "pretty-quick --staged"
        }
    },
    "eslintConfig": {
        "extends": "react-app"
    },
    "browserslist": {
        "production": [
            ">0.2%",
            "not dead",
            "not op_mini all"
        ],
        "development": [
            "last 1 chrome version",
            "last 1 firefox version",
            "last 1 safari version"
        ]
    },
    "jest": {
        "roots": [
            "<rootDir>/src"
        ],
        "collectCoverageFrom": [
            "src/**/*.{js,jsx,ts,tsx}",
            "!src/**/*.d.ts"
        ],
        "setupFiles": [
            "react-app-polyfill/jsdom"
        ],
        "setupFilesAfterEnv": [],
        "testMatch": [
            "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
            "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
        ],
        "testEnvironment": "jest-environment-jsdom-fourteen",
        "transform": {
            "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
            "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
            "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
        },
        "transformIgnorePatterns": [
            "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
            "^.+\\.module\\.(css|sass|scss)$"
        ],
        "modulePaths": [],
        "moduleNameMapper": {
            "^react-native$": "react-native-web",
            "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
        },
        "moduleFileExtensions": [
            "web.js",
            "js",
            "web.ts",
            "ts",
            "web.tsx",
            "tsx",
            "json",
            "web.jsx",
            "jsx",
            "node"
        ],
        "watchPlugins": [
            "jest-watch-typeahead/filename",
            "jest-watch-typeahead/testname"
        ]
    },
    "babel": {
        "presets": [
            "react-app"
        ],
        "plugins": [
            [
                "import",
                {
                    "libraryName": "antd",
                    "style": true
                }
            ]
        ]
    },
    "devDependencies": {
        "@commitlint/cli": "^8.2.0",
        "@commitlint/config-conventional": "^8.2.0",
        "antd-theme-generator": "^1.1.7",
        "babel-plugin-import": "^1.12.2",
        "commitizen": "^4.0.3",
        "cz-conventional-changelog": "^3.0.2",
        "husky": "^3.0.5",
        "less": "2.x",
        "less-loader": "^5.0.0",
        "prettier": "^2.0.4",
        "pretty-quick": "^2.0.1",
        "standard-version": "^7.0.0"
    }
}