|
| 1 | +{ |
| 2 | + "name": "rich-app", |
| 3 | + "version": "0.1.0", |
| 4 | + "private": true, |
| 5 | + "dependencies": { |
| 6 | + "@reduxjs/toolkit": "^1.5.0", |
| 7 | + "@testing-library/jest-dom": "^5.11.6", |
| 8 | + "@testing-library/react": "^11.2.2", |
| 9 | + "@testing-library/user-event": "^12.6.0", |
| 10 | + "@types/jest": "^26.0.19", |
| 11 | + "@types/lodash": "^4.14.165", |
| 12 | + "@types/node": "^14.14.14", |
| 13 | + "@types/react": "^17.0.0", |
| 14 | + "@types/react-datepicker": "^3.1.2", |
| 15 | + "@types/react-dom": "^17.0.0", |
| 16 | + "@types/react-redux": "^7.1.12", |
| 17 | + "@types/react-router-dom": "^5.1.6", |
| 18 | + "axios": "^0.21.0", |
| 19 | + "bootstrap": "^4.5.3", |
| 20 | + "env-cmd": "^10.1.0", |
| 21 | + "json-server": "^0.16.3", |
| 22 | + "lodash": "^4.17.20", |
| 23 | + "react": "^17.0.2", |
| 24 | + "react-bootstrap": "^1.5.0", |
| 25 | + "react-datepicker": "^3.3.0", |
| 26 | + "react-dom": "^17.0.2", |
| 27 | + "react-hook-form": "^6.13.1", |
| 28 | + "react-intl": "^5.10.9", |
| 29 | + "react-redux": "^7.2.2", |
| 30 | + "react-router-dom": "^5.2.0", |
| 31 | + "react-scripts": "5.0.0", |
| 32 | + "react-spinners": "^0.10.6", |
| 33 | + "react-toastify": "^7.0.3", |
| 34 | + "rimraf": "^3.0.2", |
| 35 | + "sass": "^1.30.0", |
| 36 | + "serialize-javascript": "^5.0.1", |
| 37 | + "source-map-explorer": "^2.5.2", |
| 38 | + "typescript": "^4.1.3", |
| 39 | + "web-vitals": "^1.0.1" |
| 40 | + }, |
| 41 | + "scripts": { |
| 42 | + "start": "react-scripts start", |
| 43 | + "build": "react-scripts build", |
| 44 | + "test": "react-scripts test --watchAll=false", |
| 45 | + "eject": "react-scripts eject", |
| 46 | + "coverage": "react-scripts test --watchAll=false --coverage", |
| 47 | + "clean-deps": "rimraf node_modules/ yarn.lock", |
| 48 | + "analyze": "source-map-explorer 'build/static/js/*.js'", |
| 49 | + "clean": "rimraf build/", |
| 50 | + "development": "env-cmd -f envs/.env.development react-scripts build", |
| 51 | + "staging": "env-cmd -f envs/.env.staging react-scripts build", |
| 52 | + "production": "env-cmd -f envs/.env.production react-scripts build", |
| 53 | + "json-server": "json-server -c mock/config.json mock/index.js" |
| 54 | + }, |
| 55 | + "eslintConfig": { |
| 56 | + "extends": [ |
| 57 | + "react-app", |
| 58 | + "react-app/jest", |
| 59 | + "plugin:jsx-a11y/recommended" |
| 60 | + ], |
| 61 | + "plugins": [ |
| 62 | + "jsx-a11y" |
| 63 | + ] |
| 64 | + }, |
| 65 | + "browserslist": { |
| 66 | + "production": [ |
| 67 | + ">0.2%", |
| 68 | + "not dead", |
| 69 | + "not op_mini all" |
| 70 | + ], |
| 71 | + "development": [ |
| 72 | + "last 1 chrome version", |
| 73 | + "last 1 firefox version", |
| 74 | + "last 1 safari version" |
| 75 | + ] |
| 76 | + }, |
| 77 | + "jest": { |
| 78 | + "collectCoverageFrom": [ |
| 79 | + "src/**/*.{js,jsx,ts,tsx}", |
| 80 | + "!<rootDir>/node_modules/", |
| 81 | + "!<rootDir>/src/translations/**/*", |
| 82 | + "!<rootDir>/src/styles/**/*", |
| 83 | + "!<rootDir>/src/**/*.stories.tsx", |
| 84 | + "!<rootDir>/src/**/*Slice.ts", |
| 85 | + "!<rootDir>/src/serviceWorker.js", |
| 86 | + "!<rootDir>/src/constants/**/*" |
| 87 | + ], |
| 88 | + "coverageThreshold": { |
| 89 | + "global": { |
| 90 | + "branches": 0, |
| 91 | + "functions": 0, |
| 92 | + "lines": 0, |
| 93 | + "statements": 0 |
| 94 | + } |
| 95 | + }, |
| 96 | + "coverageReporters": [ |
| 97 | + "json", |
| 98 | + "lcov", |
| 99 | + "text", |
| 100 | + "clover" |
| 101 | + ] |
| 102 | + } |
| 103 | +} |
0 commit comments