dimensional-health/package.json

261 lines
7.2 KiB
JSON

{
"name": "wdyl",
"version": "0.1.0",
"private": true,
"dependencies": {
"@babel/core": "^7.16.0",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@reduxjs/toolkit": "^1.9.5",
"@svgr/webpack": "^5.5.0",
"@tensorflow/tfjs": "^4.10.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.13",
"@types/qrcode": "^1.5.1",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/redux-logger": "^3.0.9",
"ahooks": "^3.7.8",
"axios": "^1.4.0",
"babel-jest": "^27.4.2",
"babel-loader": "^8.2.3",
"babel-plugin-named-asset-import": "^0.3.8",
"babel-preset-react-app": "^10.0.1",
"better-scroll": "^2.5.1",
"bfj": "^7.0.2",
"browserslist": "^4.18.1",
"camelcase": "^6.2.1",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.2.0",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"eslint": "^8.3.0",
"eslint-config-react-app": "^7.0.1",
"eslint-webpack-plugin": "^3.1.1",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^9.0.0",
"fs-extra": "^10.0.0",
"html-webpack-plugin": "^5.5.0",
"http-proxy-middleware": "^2.0.6",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.4.3",
"jest-resolve": "^27.4.2",
"jest-watch-typeahead": "^1.0.0",
"jsencrypt": "^3.3.2",
"lib-flexible": "^0.3.2",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.4.5",
"opencv.js": "^1.2.1",
"postcss": "^8.4.4",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^6.2.1",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^7.0.1",
"postcss-pxtorem": "^6.0.0",
"prompts": "^2.4.2",
"qrcode": "^1.5.3",
"qs": "^6.11.2",
"react": "^18.2.0",
"react-activation": "^0.12.4",
"react-app-polyfill": "^3.0.0",
"react-dev-utils": "^12.0.1",
"react-dom": "^18.2.0",
"react-loading-skeleton": "^3.3.1",
"react-redux": "^8.1.1",
"react-refresh": "^0.11.0",
"react-router-dom": "^6.14.1",
"react-vant": "^3.3.1",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"resolve": "^1.20.0",
"resolve-url-loader": "^4.0.0",
"sass": "^1.63.6",
"sass-loader": "^12.3.0",
"semver": "^7.3.5",
"socket.io-client": "^4.7.2",
"source-map-loader": "^3.0.0",
"style-loader": "^3.3.1",
"tailwindcss": "^3.0.2",
"terser-webpack-plugin": "^5.2.5",
"typescript": "^4.4.2",
"video.js": "^8.3.0",
"web-vitals": "^2.1.0",
"webpack": "^5.64.4",
"webpack-bundle-analyzer": "^4.9.1",
"webpack-dev-server": "^4.6.0",
"webpack-manifest-plugin": "^4.0.2",
"workbox-webpack-plugin": "^6.4.1"
},
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"test": "node scripts/test.js",
"prepare": "husky install",
"eslint": "eslint --fix --ext .ts,.tsx,./src --ignore-path .gitignore .",
"commit": "git-cz",
"commitlint": "commitlint --config commitlint.config.js -e -V"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"eslint": "^8.43.0",
"eslint-plugin-react": "^7.32.2"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog-zh",
"disableScopeLowerCase": false,
"disableSubjectLowerCase": false,
"maxHeaderWidth": 100,
"maxLineWidth": 100,
"defaultType": "",
"defaultScope": "",
"defaultSubject": "",
"defaultBody": "",
"defaultIssues": "",
"types": {
"feat": {
"description": "一个新功能",
"title": "Features"
},
"fix": {
"description": "一个bug",
"title": "Bug Fixes"
},
"docs": {
"description": "文档增删改",
"title": "Documentation"
},
"style": {
"description": "样式修改(空白、格式、缺少分号等)",
"title": "Styles"
},
"refactor": {
"description": "既不修复bug也不添加新功能的更改",
"title": "Code Refactoring"
},
"perf": {
"description": "性能优化",
"title": "Performance Improvements"
},
"test": {
"description": "增加测试",
"title": "Tests"
},
"build": {
"description": "影响构建系统或外部依赖项的更改(示例范围:gulp、broccoli、npm)",
"title": "Builds"
},
"ci": {
"description": "对CI配置文件和脚本的更改(示例范围:Travis, Circle, BrowserStack, SauceLabs)",
"title": "Continuous Integrations"
},
"chore": {
"description": "除src目录或测试文件以外的修改",
"title": "Chores"
},
"revert": {
"description": "回退历史版本",
"title": "Reverts"
},
"conflict": {
"description": "修改冲突",
"title": "Conflict"
},
"font": {
"description": "字体文件更新",
"title": "Fonts"
},
"delete": {
"description": "删除文件",
"title": "Delete Files"
},
"stash": {
"description": "暂存文件",
"title": "Stash Files"
}
}
}
},
"jest": {
"roots": [
"<rootDir>/src"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"setupFiles": [
"react-app-polyfill/jsdom"
],
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.ts"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom",
"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"
]
}
}