|
9 | 9 | "Basile Spaenlehauer" |
10 | 10 | ], |
11 | 11 | "dependencies": { |
12 | | - "@testing-library/cypress": "^8.0.2", |
13 | | - "@testing-library/jest-dom": "^5.14.1", |
14 | | - "@testing-library/react": "^13.0.0", |
15 | | - "@testing-library/user-event": "^13.2.1", |
16 | | - "@types/jest": "^27.0.1", |
17 | | - "@types/node": "^16.7.13", |
18 | | - "@types/react": "^18.0.0", |
19 | | - "@types/react-dom": "^18.0.0", |
20 | | - "react": "^18.1.0", |
21 | | - "react-dom": "^18.1.0", |
| 12 | + "@testing-library/cypress": "8.0.2", |
| 13 | + "@testing-library/jest-dom": "5.16.4", |
| 14 | + "@testing-library/react": "13.2.0", |
| 15 | + "@testing-library/user-event": "14.1.1", |
| 16 | + "@types/jest": "27.5.0", |
| 17 | + "@types/node": "16.11.33", |
| 18 | + "@types/react": "18.0.8", |
| 19 | + "@types/react-dom": "18.0.3", |
| 20 | + "react": "18.1.0", |
| 21 | + "react-dom": "18.1.0", |
22 | 22 | "react-scripts": "5.0.1", |
23 | | - "typescript": "^4.4.2" |
| 23 | + "typescript": "4.6.4" |
24 | 24 | }, |
25 | 25 | "scripts": { |
26 | | - "start": "env-cmd -f ./.env.local react-scripts start", |
| 26 | + "start": "env-cmd -f ./.env.local react-scripts -r @cypress/instrument-cra start", |
27 | 27 | "start:test": "env-cmd -f ./.env.test react-scripts -r @cypress/instrument-cra start", |
28 | 28 | "build": "react-scripts build", |
29 | 29 | "test": "react-scripts test", |
|
33 | 33 | "hooks:install": "husky install", |
34 | 34 | "hooks:uninstall": "husky uninstall", |
35 | 35 | "lint": "eslint .", |
| 36 | + "cypress:open": "env-cmd -f ./.env.local cypress open", |
36 | 37 | "test:once": "concurrently -k -s first \"yarn start:test\" \"wait-on http://localhost:3333 && yarn test:ci\" ", |
37 | | - "test:ci": "env-cmd -f ./.env.test cypress run --headless" |
| 38 | + "test:ci": "env-cmd -f ./.env.test cypress run && nyc report --reporter=text --reporter=text-summary", |
| 39 | + "cov:report": "open ./coverage/lcov-report/index.html" |
38 | 40 | }, |
39 | 41 | "devDependencies": { |
40 | | - "@commitlint/cli": "16.1.0", |
41 | | - "@commitlint/config-conventional": "16.0.0", |
42 | | - "@cypress/instrument-cra": "^1.4.0", |
43 | | - "@typescript-eslint/eslint-plugin": "^5.22.0", |
44 | | - "@typescript-eslint/parser": "^5.22.0", |
45 | | - "concurrently": "^7.1.0", |
46 | | - "cypress": "^9.6.0", |
47 | | - "eslint": "^8.14.0", |
48 | | - "eslint-config-airbnb": "^19.0.4", |
49 | | - "eslint-config-prettier": "^8.5.0", |
50 | | - "eslint-import-resolver-typescript": "^2.7.1", |
51 | | - "eslint-plugin-cypress": "^2.12.1", |
52 | | - "eslint-plugin-import": "^2.26.0", |
53 | | - "eslint-plugin-jsx-a11y": "^6.5.1", |
54 | | - "eslint-plugin-prettier": "^4.0.0", |
55 | | - "eslint-plugin-react": "^7.29.4", |
56 | | - "eslint-plugin-react-hooks": "^4.5.0", |
57 | | - "husky": "^7.0.4", |
58 | | - "prettier": "^2.6.2", |
59 | | - "pretty-quick": "^3.1.3", |
60 | | - "standard-version": "^9.3.2" |
| 42 | + "@commitlint/cli": "16.2.4", |
| 43 | + "@commitlint/config-conventional": "16.2.4", |
| 44 | + "@cypress/code-coverage": "3.9.12", |
| 45 | + "@cypress/instrument-cra": "1.4.0", |
| 46 | + "@typescript-eslint/eslint-plugin": "5.22.0", |
| 47 | + "@typescript-eslint/parser": "5.22.0", |
| 48 | + "concurrently": "7.1.0", |
| 49 | + "cypress": "9.6.0", |
| 50 | + "eslint": "8.14.0", |
| 51 | + "eslint-config-airbnb": "19.0.4", |
| 52 | + "eslint-config-prettier": "8.5.0", |
| 53 | + "eslint-import-resolver-typescript": "2.7.1", |
| 54 | + "eslint-plugin-cypress": "2.12.1", |
| 55 | + "eslint-plugin-import": "2.26.0", |
| 56 | + "eslint-plugin-jsx-a11y": "6.5.1", |
| 57 | + "eslint-plugin-prettier": "4.0.0", |
| 58 | + "eslint-plugin-react": "7.29.4", |
| 59 | + "eslint-plugin-react-hooks": "4.5.0", |
| 60 | + "husky": "7.0.4", |
| 61 | + "nyc": "15.1.0", |
| 62 | + "prettier": "2.6.2", |
| 63 | + "pretty-quick": "3.1.3", |
| 64 | + "standard-version": "9.3.2" |
61 | 65 | }, |
62 | 66 | "browserslist": { |
63 | 67 | "production": [ |
|
71 | 75 | "last 1 safari version" |
72 | 76 | ] |
73 | 77 | }, |
| 78 | + "nyc": { |
| 79 | + "all": true, |
| 80 | + "include": "src/*.{js,ts,jsx,tsx}", |
| 81 | + "exclude": [ |
| 82 | + "src/setupTests.ts", |
| 83 | + "src/*.d.ts" |
| 84 | + ] |
| 85 | + }, |
74 | 86 | "packageManager": "[email protected]" |
75 | 87 | } |
0 commit comments