frontend/package.json

184 lines
5.0 KiB
JSON
Raw Normal View History

2021-10-25 11:49:03 +08:00
{
"name": "marketingsystem",
"version": "0.1.0",
"private": true,
"dependencies": {
2021-10-26 16:08:21 +08:00
"@babel/core": "7.12.3",
"@pmmmwh/react-refresh-webpack-plugin": "0.4.3",
"@svgr/webpack": "5.5.0",
2021-10-25 11:49:03 +08:00
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
2021-10-26 16:08:21 +08:00
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
2022-08-16 10:48:14 +08:00
"ahooks": "^3.7.0",
2021-10-26 16:08:21 +08:00
"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",
2021-10-26 15:10:20 +08:00
"classnames": "^2.3.1",
2021-10-26 16:08:21 +08:00
"css-loader": "^1.0.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",
2021-11-22 15:43:40 +08:00
"events": "^3.3.0",
2021-10-26 16:08:21 +08:00
"file-loader": "6.1.1",
"fs-extra": "^9.0.1",
"html-webpack-plugin": "4.5.0",
"html2canvas": "^1.4.0",
2021-10-26 16:08:21 +08:00
"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": "^3.9.0",
"less-loader": "^4.1.0",
"lodash-es": "^4.17.21",
2021-10-26 16:08:21 +08:00
"mini-css-extract-plugin": "0.11.3",
2021-11-24 17:08:06 +08:00
"moment": "^2.29.1",
2021-10-26 16:08:21 +08:00
"optimize-css-assets-webpack-plugin": "5.0.4",
"pnp-webpack-plugin": "1.6.4",
"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",
2021-11-23 15:54:11 +08:00
"qrcode.react": "^1.0.1",
2021-10-25 11:49:03 +08:00
"react": "^17.0.2",
2021-10-26 16:08:21 +08:00
"react-app-polyfill": "^2.0.0",
"react-dev-utils": "^11.0.3",
2021-10-25 11:49:03 +08:00
"react-dom": "^17.0.2",
2022-05-13 18:31:59 +08:00
"react-error-overlay": "6.0.9",
2021-10-26 16:08:21 +08:00
"react-refresh": "^0.8.3",
"react-router-dom": "^5.3.0",
"react-scripts": "^5.0.1",
2021-11-22 15:43:40 +08:00
"react-validate-framework": "^0.15.6",
2022-04-13 15:08:46 +08:00
"react-window": "^1.8.6",
2021-10-26 16:08:21 +08:00
"resolve": "1.18.1",
"resolve-url-loader": "^3.1.2",
"sass-loader": "^10.0.5",
"semver": "7.3.2",
"style-loader": "1.3.0",
2022-01-19 10:47:05 +08:00
"swiper": "^3.4.2",
2021-10-26 16:08:21 +08:00
"terser-webpack-plugin": "4.2.3",
"ts-pnp": "1.2.0",
"url-loader": "4.1.1",
2022-08-16 10:48:14 +08:00
"usehooks-ts": "^2.6.0",
2021-11-22 15:43:40 +08:00
"validate-framework": "^4.0.6",
2022-01-06 18:33:20 +08:00
"wangeditor": "^4.7.11",
2021-10-25 11:49:03 +08:00
"web-vitals": "^1.0.1",
2021-10-26 16:08:21 +08:00
"webpack": "4.44.2",
"webpack-dev-server": "3.11.1",
"webpack-manifest-plugin": "2.2.0",
"workbox-webpack-plugin": "5.1.4",
2021-10-25 11:49:03 +08:00
"zent": "^9.11.0"
},
"scripts": {
2021-10-26 16:08:21 +08:00
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"test": "node scripts/test.js"
2021-10-25 11:49:03 +08:00
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"resolutions": {
"//": "查看 https://github.com/facebook/create-react-app/issues/11773",
"react-error-overlay": "6.0.9"
},
2021-10-25 11:49:03 +08:00
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
2021-12-03 15:03:49 +08:00
],
2021-12-03 16:06:59 +08:00
"test": [
">0.2%",
"not dead",
"not op_mini all"
]
2021-10-26 15:10:20 +08:00
},
"devDependencies": {
2022-01-04 10:46:43 +08:00
"@babel/parser": "^7.16.7",
2024-07-02 14:38:00 +08:00
"react-json-view": "^1.21.3"
2021-10-26 16:08:21 +08:00
},
"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": "D:\\marketing-system\\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
},
"babel": {
"presets": [
"react-app"
]
2021-10-25 11:49:03 +08:00
}
2023-06-14 16:56:24 +08:00
}