mirror of
https://github.com/PGYER/codefever.git
synced 2026-05-21 01:46:41 +08:00
191 lines
5.5 KiB
JSON
Executable File
191 lines
5.5 KiB
JSON
Executable File
{
|
|
"name": "pgyer-codefever-community",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@babel/core": "7.12.3",
|
|
"@date-io/date-fns": "^1.3.8",
|
|
"@formatjs/intl-pluralrules": "^4.1.0",
|
|
"@formatjs/intl-relativetimeformat": "^9.2.0",
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
|
"@fortawesome/free-brands-svg-icons": "^5.15.3",
|
|
"@fortawesome/free-solid-svg-icons": "^5.15.3",
|
|
"@fortawesome/react-fontawesome": "^0.1.14",
|
|
"@material-ui/core": "^4.12.2",
|
|
"@material-ui/icons": "^4.11.2",
|
|
"@material-ui/lab": "^4.0.0-alpha.60",
|
|
"@material-ui/pickers": "^3.3.10",
|
|
"@pgyer/essential-component": "^0.0.19",
|
|
"@pgyer/icons": "^0.0.16",
|
|
"@pgyer/mui-theme-preset": "latest",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "0.4.3",
|
|
"@svgr/webpack": "5.5.0",
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
"@testing-library/react": "^11.2.7",
|
|
"@testing-library/user-event": "^12.8.3",
|
|
"@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-plugin-prismjs": "^2.1.0",
|
|
"babel-preset-react-app": "^10.0.0",
|
|
"bfj": "^7.0.2",
|
|
"camelcase": "^6.1.0",
|
|
"case-sensitive-paths-webpack-plugin": "2.3.0",
|
|
"classnames": "^2.3.1",
|
|
"css-loader": "4.3.0",
|
|
"date-fns": "^2.23.0",
|
|
"diff": "^5.0.0",
|
|
"dotenv": "8.2.0",
|
|
"dotenv-expand": "5.1.0",
|
|
"eslint": "^7.11.0",
|
|
"eslint-config-react-app": "^6.0.0",
|
|
"eslint-config-standard": "^16.0.3",
|
|
"eslint-config-standard-react": "^11.0.1",
|
|
"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-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^5.1.0",
|
|
"eslint-plugin-react": "^7.21.5",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"eslint-plugin-standard": "^5.0.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",
|
|
"mini-css-extract-plugin": "0.11.3",
|
|
"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",
|
|
"prismjs": "^1.24.1",
|
|
"prompts": "2.4.0",
|
|
"react": "^17.0.2",
|
|
"react-app-polyfill": "^2.0.0",
|
|
"react-autosuggest": "^10.1.0",
|
|
"react-dev-utils": "^11.0.3",
|
|
"react-dom": "^17.0.2",
|
|
"react-intl": "^5.20.6",
|
|
"react-markdown": "^8.0.3",
|
|
"react-redux": "^7.2.4",
|
|
"react-refresh": "^0.8.3",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-syntax-highlighter": "^15.4.4",
|
|
"remark-gfm": "^3.0.1",
|
|
"resolve": "1.18.1",
|
|
"resolve-url-loader": "^3.1.2",
|
|
"sass-loader": "^10.0.5",
|
|
"semver": "7.3.2",
|
|
"style-loader": "1.3.0",
|
|
"stylus": "^0.54.8",
|
|
"stylus-loader": "^3.0.2",
|
|
"terser-webpack-plugin": "4.2.3",
|
|
"ts-pnp": "1.2.0",
|
|
"url-loader": "4.1.1",
|
|
"web-vitals": "^1.1.2",
|
|
"webpack": "4.44.2",
|
|
"webpack-dev-server": "3.11.1",
|
|
"webpack-manifest-plugin": "2.2.0",
|
|
"workbox-webpack-plugin": "5.1.4"
|
|
},
|
|
"resolutions": {
|
|
"react-error-overlay": "6.0.9"
|
|
},
|
|
"scripts": {
|
|
"start": "node scripts/start.js",
|
|
"build": "node scripts/build.js",
|
|
"test": "node scripts/test.js",
|
|
"lint": "eslint src",
|
|
"fix": "eslint --fix src"
|
|
},
|
|
"homepage": "/",
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"standard",
|
|
"standard-react"
|
|
]
|
|
},
|
|
"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": "/data/www/branches/git_workspace/yangchen/www/view/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"
|
|
]
|
|
}
|
|
}
|