|
5 | 5 | "main": "lib/commonjs/index", |
6 | 6 | "module": "lib/module/index", |
7 | 7 | "types": "lib/typescript/src/index.d.ts", |
8 | | - "react-native": "src/index", |
9 | 8 | "source": "src/index", |
10 | 9 | "sideEffects": false, |
11 | 10 | "files": [ |
|
39 | 38 | "registry": "https://registry.npmjs.org/" |
40 | 39 | }, |
41 | 40 | "devDependencies": { |
| 41 | + "@callstack/eslint-config": "^14.1.0", |
42 | 42 | "@commitlint/config-conventional": "^17.0.2", |
43 | 43 | "@evilmartians/lefthook": "^1.5.0", |
44 | | - "@react-native/eslint-config": "^0.72.2", |
45 | 44 | "@release-it/conventional-changelog": "^5.0.0", |
46 | 45 | "@types/jest": "^28.1.2", |
47 | | - "@types/react": "~17.0.21", |
48 | | - "@types/react-native": "0.70.0", |
49 | 46 | "commitlint": "^17.0.2", |
50 | 47 | "del-cli": "^5.0.0", |
51 | | - "eslint": "^8.4.1", |
| 48 | + "eslint": "^8.56.0", |
52 | 49 | "eslint-config-prettier": "^8.5.0", |
| 50 | + "eslint-plugin-flowtype": "^8.0.3", |
53 | 51 | "eslint-plugin-import": "^2.29.1", |
54 | 52 | "eslint-plugin-prettier": "^4.0.0", |
55 | 53 | "jest": "^28.1.1", |
56 | 54 | "prettier": "^2.0.5", |
57 | | - "react": "18.2.0", |
58 | | - "react-native": "0.72.6", |
59 | 55 | "react-native-builder-bob": "^0.20.0", |
60 | 56 | "release-it": "^15.0.0", |
61 | 57 | "typescript": "^5.0.2" |
62 | 58 | }, |
63 | | - "resolutions": { |
64 | | - "@types/react": "17.0.21" |
65 | | - }, |
66 | | - "peerDependencies": { |
67 | | - "react": "*", |
68 | | - "react-native": "*" |
69 | | - }, |
70 | 59 | "packageManager": "yarn@3.6.1", |
71 | 60 | "engines": { |
72 | 61 | "node": ">= 18.0.0" |
73 | 62 | }, |
74 | 63 | "jest": { |
75 | | - "preset": "react-native", |
76 | 64 | "setupFilesAfterEnv": [ |
77 | 65 | "<rootDir>/jest-setup.ts" |
78 | 66 | ], |
|
108 | 96 | "eslintConfig": { |
109 | 97 | "root": true, |
110 | 98 | "extends": [ |
111 | | - "@react-native", |
| 99 | + "@callstack/eslint-config/node", |
112 | 100 | "prettier" |
113 | 101 | ], |
114 | 102 | "plugins": [ |
|
0 commit comments