123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- {
- "name": "my-app",
- "version": "0.1.0",
- "private": true,
- "homepage": ".",
- "main": "dist/main.cjs.js",
- "module": "dist/main.esm.js",
- "common": "dist/main.js",
- "source": "src/index.js",
- "dependencies": {
- "@ant-design/compatible": "^1.0.8",
- "@ant-design/icons": "^4.6.2",
- "antd": "^4.15.0",
- "brace": "0.10.0",
- "form-render": "^0.10.5",
- "generate-schema": "^2.6.0",
- "lodash": "^4.17.21",
- "moox": "^1.0.8",
- "react": "^16.12.0",
- "react-dom": "^16.12.0",
- "react-redux": "^6.0.0",
- "redux": "^4.0.5"
- },
- "devDependencies": {
- "@babel/cli": "^7.13.14",
- "@babel/core": "^7.13.14",
- "@babel/plugin-proposal-class-properties": "^7.13.0",
- "@babel/plugin-proposal-decorators": "^7.13.5",
- "@babel/plugin-syntax-jsx": "^7.12.13",
- "@babel/plugin-transform-react-jsx": "^7.13.12",
- "@babel/plugin-transform-runtime": "^7.13.10",
- "@babel/preset-env": "^7.13.12",
- "@babel/preset-react": "^7.13.13",
- "@pmmmwh/react-refresh-webpack-plugin": "0.4.3",
- "@rollup/plugin-babel": "^5.3.0",
- "@rollup/plugin-node-resolve": "^11.2.1",
- "@svgr/webpack": "5.5.0",
- "@testing-library/jest-dom": "^5.11.4",
- "@testing-library/react": "^11.1.0",
- "@testing-library/user-event": "^12.1.10",
- "@typescript-eslint/eslint-plugin": "^4.5.0",
- "@typescript-eslint/parser": "^4.5.0",
- "babel-eslint": "^10.1.0",
- "babel-jest": "^26.6.0",
- "babel-loader": "8.1.0",
- "babel-plugin-named-asset-import": "^0.3.7",
- "babel-preset-react-app": "^10.0.0",
- "bfj": "^7.0.2",
- "camelcase": "^6.1.0",
- "case-sensitive-paths-webpack-plugin": "2.3.0",
- "cross-env": "^7.0.3",
- "css-loader": "^5.2.0",
- "dotenv": "8.2.0",
- "dotenv-expand": "5.1.0",
- "eslint": "^7.11.0",
- "eslint-config-react-app": "^6.0.0",
- "eslint-plugin-flowtype": "^5.2.0",
- "eslint-plugin-import": "^2.22.1",
- "eslint-plugin-jest": "^24.1.0",
- "eslint-plugin-jsx-a11y": "^6.3.1",
- "eslint-plugin-react": "^7.21.5",
- "eslint-plugin-react-hooks": "^4.2.0",
- "eslint-plugin-testing-library": "^3.9.2",
- "eslint-webpack-plugin": "^2.5.2",
- "file-loader": "6.1.1",
- "fs-extra": "^9.0.1",
- "html-webpack-plugin": "4.5.0",
- "identity-obj-proxy": "3.0.0",
- "jest": "26.6.0",
- "jest-circus": "26.6.0",
- "jest-resolve": "26.6.0",
- "jest-watch-typeahead": "0.6.1",
- "less": "^4.1.1",
- "less-loader": "5.0.0",
- "mini-css-extract-plugin": "^1.4.0",
- "npm-run-all": "^4.1.5",
- "optimize-css-assets-webpack-plugin": "5.0.4",
- "pnp-webpack-plugin": "1.6.4",
- "postcss": "^8.2.9",
- "postcss-flexbugs-fixes": "4.2.1",
- "postcss-loader": "3.0.0",
- "postcss-normalize": "8.0.1",
- "postcss-preset-env": "6.7.0",
- "postcss-safe-parser": "5.0.2",
- "prompts": "2.4.0",
- "react-addons-perf": "^15.4.2",
- "react-app-polyfill": "^2.0.0",
- "react-dev-utils": "^11.0.3",
- "react-refresh": "^0.8.3",
- "resolve": "1.18.1",
- "resolve-url-loader": "^3.1.2",
- "rollup": "^2.44.0",
- "rollup-plugin-ascii": "^0.0.3",
- "rollup-plugin-commonjs": "^10.1.0",
- "rollup-plugin-delete": "^2.0.0",
- "rollup-plugin-peer-deps-external": "^2.2.4",
- "rollup-plugin-postcss": "^4.0.0",
- "rollup-plugin-terser": "^7.0.2",
- "sass-loader": "^10.0.5",
- "semver": "7.3.2",
- "style-loader": "^2.0.0",
- "terser-webpack-plugin": "4.2.3",
- "ts-pnp": "1.2.0",
- "url-loader": "4.1.1",
- "web-vitals": "^1.0.1",
- "webpack": "4.44.2",
- "webpack-bundle-analyzer": "^4.4.0",
- "webpack-cli": "^4.6.0",
- "webpack-dev-server": "3.11.1",
- "webpack-manifest-plugin": "2.2.0",
- "webpack-merge": "^5.7.3",
- "workbox-webpack-plugin": "5.1.4"
- },
- "scripts": {
- "start": "node scripts/start.js",
- "build": "node scripts/build.js",
- "package": "webpack --config scripts/package.js",
- "analyze": "cross-env NODE_ENV=production npm_config_report=true npm run package",
- "rollup": "rollup -c",
- "test": "webpack --config scripts/test.js",
- "eslint-fix": "eslint src/**/*.* --fix"
- },
- "eslintConfig": {
- "extends": [
- "react-app",
- "react-app/jest"
- ],
- "rules": {
- "import/no-anonymous-default-export": "off"
- }
- },
- "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": [
- "<rootDir>/src/setupTests.js"
- ],
- "testMatch": [
- "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
- "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
- ],
- "testEnvironment": "jsdom",
- "testRunner": "E:\\11\\my-app\\node_modules\\jest-circus\\runner.js",
- "transform": {
- "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
- "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
- "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
- },
- "transformIgnorePatterns": [
- "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|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"
- ],
- "resetMocks": true
- }
- }
|