|
3 | 3 | "author": "Raice Hannay <[email protected]>", |
4 | 4 | "description": "A set of classes to make setting up React components for unit tests easy.", |
5 | 5 | "license": "ISC", |
6 | | - "version": "2.0.1", |
| 6 | + "version": "2.0.2", |
7 | 7 | "keywords": [ |
8 | 8 | "component", |
9 | 9 | "enzyme", |
|
26 | 26 | ], |
27 | 27 | "scripts": { |
28 | 28 | "format": "prettier --write \"**/*.{js,jsx,json,ts,tsx}\"", |
29 | | - "lint": "tslint \"./{types,src,pages}/**/*.ts?(x)\"", |
| 29 | + "lint": "eslint \"./src/**/*.ts?(x)\"", |
| 30 | + "lint:fix": "eslint \"./src/**/*.ts?(x)\" --fix", |
30 | 31 | "test": "cross-env NODE_ENV=test jest --no-cache --config ./jest.config.js", |
31 | | - "test:all": "npm-run-all format typecheck lint test:coverage", |
| 32 | + "test:all": "npm-run-all format typecheck lint:fix test:coverage", |
32 | 33 | "test:coverage": "cross-env NODE_ENV=test jest --no-cache --coverage --config ./jest.config.js", |
33 | 34 | "typecheck": "tsc" |
34 | 35 | }, |
|
43 | 44 | "homepage": "https://github.com/voodoocreation/react-test-wrapper#readme", |
44 | 45 | "types": "dist/index.d.ts", |
45 | 46 | "peerDependencies": { |
46 | | - "enzyme": "^3.10.0", |
47 | | - "react": "^16.12.0", |
48 | | - "react-intl": "^3.9.1", |
49 | | - "react-redux": "^7.1.3", |
50 | | - "redux": "^4.0.4" |
| 47 | + "enzyme": ">= 3.0.0", |
| 48 | + "react": ">= 16.0.0", |
| 49 | + "react-intl": ">= 3.0.0", |
| 50 | + "react-redux": ">= 7.0.0", |
| 51 | + "redux": ">= 4.0.0" |
51 | 52 | }, |
52 | 53 | "peerDependenciesMeta": { |
53 | 54 | "react-intl": { |
|
66 | 67 | "@types/jest": "^24.0.23", |
67 | 68 | "@types/react": "^16.9.15", |
68 | 69 | "@types/react-redux": "^7.1.5", |
| 70 | + "@typescript-eslint/eslint-plugin": "^2.22.0", |
69 | 71 | "cross-env": "^6.0.3", |
70 | 72 | "enzyme": "^3.10.0", |
71 | 73 | "enzyme-adapter-react-16": "^1.15.1", |
72 | 74 | "enzyme-to-json": "^3.4.3", |
| 75 | + "eslint": "^6.8.0", |
| 76 | + "eslint-config-voodoocreation": "^1.0.7", |
| 77 | + "eslint-plugin-import": "^2.20.1", |
| 78 | + "eslint-plugin-jest": "^23.8.1", |
| 79 | + "eslint-plugin-jsx-a11y": "^6.2.3", |
| 80 | + "eslint-plugin-prefer-arrow": "^1.1.7", |
| 81 | + "eslint-plugin-react": "^7.18.3", |
| 82 | + "eslint-plugin-react-hooks": "^2.5.0", |
73 | 83 | "jest": "^24.9.0", |
74 | 84 | "npm-run-all": "^4.1.5", |
75 | 85 | "prettier": "^1.19.1", |
|
79 | 89 | "react-redux": "^7.1.3", |
80 | 90 | "redux": "^4.0.4", |
81 | 91 | "ts-jest": "^24.2.0", |
82 | | - "tslint": "^5.20.0", |
83 | | - "tslint-config-prettier": "^1.18.0", |
84 | | - "tslint-react": "^4.1.0", |
85 | 92 | "typescript": "^3.7.3", |
86 | 93 | "typescript-fsa": "^3.0.0", |
87 | 94 | "typescript-fsa-reducers": "^1.2.1" |
88 | 95 | }, |
89 | 96 | "dependencies": { |
90 | | - "ts-deepmerge": "^1.0.2" |
| 97 | + "ts-deepmerge": "^1.0.4" |
91 | 98 | } |
92 | 99 | } |
0 commit comments