|
44 | 44 | "@types/react-redux": "^7.1.5",
|
45 | 45 | "@types/react-router-dom": "^5.1.3",
|
46 | 46 | "@types/redux-mock-store": "^1.0.1",
|
47 |
| - "@typescript-eslint/eslint-plugin": "^2.16.0", |
48 |
| - "@typescript-eslint/parser": "^2.16.0", |
| 47 | + "@typescript-eslint/eslint-plugin": "^4.8.1", |
| 48 | + "@typescript-eslint/parser": "^4.8.1", |
49 | 49 | "enzyme": "^3.11.0",
|
50 | 50 | "enzyme-adapter-react-16": "^1.15.2",
|
51 | 51 | "eslint": "^7.11.0",
|
52 |
| - "eslint-config-airbnb-typescript": "^6.3.1", |
53 |
| - "eslint-config-prettier": "^6.9.0", |
54 |
| - "eslint-plugin-import": "^2.20.0", |
55 |
| - "eslint-plugin-jsx-a11y": "^6.2.3", |
56 |
| - "eslint-plugin-prettier": "^3.1.2", |
57 |
| - "eslint-plugin-react": "^7.17.0", |
58 |
| - "eslint-plugin-react-hooks": "^4.0.0", |
| 52 | + "eslint-config-airbnb-typescript": "^12.0.0", |
| 53 | + "eslint-config-prettier": "^6.15.0", |
| 54 | + "eslint-plugin-import": "^2.22.0", |
| 55 | + "eslint-plugin-jsx-a11y": "^6.4.1", |
| 56 | + "eslint-plugin-prettier": "^3.1.4", |
| 57 | + "eslint-plugin-react": "^7.21.5", |
| 58 | + "eslint-plugin-react-hooks": "^4.0.8", |
59 | 59 | "prettier": "^2.0.0",
|
60 | 60 | "react": "^16.12.0",
|
61 | 61 | "react-dom": "^16.12.0",
|
|
65 | 65 | "redux": "^4.0.5",
|
66 | 66 | "redux-devtools-extension": "^2.13.8",
|
67 | 67 | "redux-mock-store": "^1.5.4",
|
68 |
| - "typescript": "~4.0.0" |
| 68 | + "typescript": "~4.0.3" |
69 | 69 | },
|
70 | 70 | "scripts": {
|
71 | 71 | "start": "react-scripts start",
|
72 | 72 | "build": "react-scripts build",
|
73 | 73 | "test": "react-scripts test",
|
74 | 74 | "eject": "react-scripts eject",
|
75 |
| - "clean-files": "rm -rf ./template/public ./template/src && rm -f ./template/.eslintignore ./template/.eslintrc ./template/.prettierrc ./template/README.md ./template/README_CRA.md ./template/tsconfig.json", |
76 |
| - "copy-files": "cp -a ./src/. template/src && cp -a ./public/. template/public && cp .eslintignore .eslintrc .prettierrc tsconfig.json README.md README_CRA.md template/", |
| 75 | + "clean-files": "rm -rf ./template/public ./template/src && rm -f ./template/.eslintignore ./template/.eslintrc ./template/.prettierrc ./template/README.md ./template/README_CRA.md ./template/tsconfig.json ./template/tsconfig.eslint.json", |
| 76 | + "copy-files": "cp -a ./src/. template/src && cp -a ./public/. template/public && cp .eslintignore .eslintrc .prettierrc tsconfig.json tsconfig.eslint.json README.md README_CRA.md template/", |
77 | 77 | "prepublishOnly": "yarn clean-files && yarn copy-files",
|
78 | 78 | "commit": "npx git-cz",
|
79 |
| - "lint": "eslint src template cypress --ext .js,.jsx,.ts,.tsx", |
80 |
| - "fix": "eslint src template cypress --ext .js,.jsx,.ts,.tsx --fix", |
| 79 | + "lint": "eslint src --ext .js,.jsx,.ts,.tsx", |
| 80 | + "fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix", |
81 | 81 | "format": "prettier --write src/**/*.{ts,tsx}",
|
82 | 82 | "e2e": "cypress run --spec 'cypress/integration/*'"
|
83 | 83 | },
|
|
0 commit comments