|
14 | 14 | "author": "MrNovado <novado@ymail.com>",
|
15 | 15 | "license": "MIT",
|
16 | 16 | "dependencies": {
|
| 17 | + "@testing-library/jest-dom": "^5.11.4", |
| 18 | + "@testing-library/react": "^11.1.0", |
| 19 | + "@testing-library/user-event": "^12.1.10", |
17 | 20 | "@xstate/inspect": "^0.4.1",
|
18 | 21 | "@xstate/react": "^1.3.1",
|
19 | 22 | "@xstate/test": "^0.4.2",
|
20 | 23 | "react": "^17.0.1",
|
21 | 24 | "react-dom": "^17.0.1",
|
22 | 25 | "react-scripts": "4.0.3",
|
23 |
| - "typescript": "^4.1.2", |
| 26 | + "typescript": "4.1.2", |
24 | 27 | "web-vitals": "^1.0.1",
|
25 | 28 | "xstate": "^4.16.2"
|
26 | 29 | },
|
27 | 30 | "devDependencies": {
|
28 |
| - "@testing-library/jest-dom": "^5.11.4", |
29 |
| - "@testing-library/react": "^11.1.0", |
30 |
| - "@testing-library/user-event": "^12.1.10", |
31 | 31 | "@types/jest": "^26.0.15",
|
32 | 32 | "@types/node": "^12.0.0",
|
33 | 33 | "@types/react": "^17.0.0",
|
34 |
| - "@types/react-dom": "^17.0.0" |
| 34 | + "@types/react-dom": "^17.0.0", |
| 35 | + "@typescript-eslint/eslint-plugin": "^4.15.2", |
| 36 | + "@typescript-eslint/parser": "^4.15.2", |
| 37 | + "eslint": "^7.21.0", |
| 38 | + "eslint-config-airbnb": "^18.2.1", |
| 39 | + "eslint-config-prettier": "^8.1.0", |
| 40 | + "eslint-plugin-import": "^2.22.1", |
| 41 | + "eslint-plugin-jsx-a11y": "^6.4.1", |
| 42 | + "eslint-plugin-prettier": "^3.3.1", |
| 43 | + "eslint-plugin-react": "^7.22.0", |
| 44 | + "eslint-plugin-react-hooks": "^4.2.0", |
| 45 | + "prettier": "^2.2.1", |
| 46 | + "prettier-eslint": "^12.0.0" |
35 | 47 | },
|
36 | 48 | "scripts": {
|
37 | 49 | "start": "react-scripts start",
|
38 | 50 | "build": "react-scripts build",
|
39 | 51 | "test": "react-scripts test",
|
40 |
| - "eject": "react-scripts eject" |
| 52 | + "qa": "yarn run qa:types && yarn run qa:lint", |
| 53 | + "qa:types": "tsc --noEmit", |
| 54 | + "qa:lint": "eslint --ext js,ts,tsx ./src --quiet --fix" |
41 | 55 | },
|
42 | 56 | "eslintConfig": {
|
43 | 57 | "extends": [
|
|
0 commit comments