|
8 | 8 | "!__tests__" |
9 | 9 | ], |
10 | 10 | "scripts": { |
11 | | - "ci": "yarn lint && yarn test && yarn size", |
12 | | - "presize": "yarn build", |
| 11 | + "ci": "yarn lint && yarn test && yarn build && yarn size", |
13 | 12 | "size": "size-limit", |
| 13 | + "format": "prettier --write src/*.{js,ts,tsx}", |
14 | 14 | "test": "jest --coverage", |
15 | 15 | "lint": "eslint './src/*.{js,ts,tsx}' --quiet", |
16 | 16 | "ts": "tsc --noEmit", |
17 | 17 | "build": "rm -rf esm && tsc --outDir esm", |
18 | 18 | "postbuild": "prettier --write esm/*.js esm/*.d.ts", |
19 | 19 | "docs": "yarn doctoc API.md", |
20 | | - "prepublishOnly": "yarn docs && yarn build" |
| 20 | + "prepublishOnly": "yarn docs && yarn build", |
| 21 | + "postinstall": "rm -rf node_modules/@types/react-native" |
21 | 22 | }, |
22 | 23 | "peerDependencies": { |
23 | 24 | "react": ">=16.4.0", |
|
32 | 33 | } |
33 | 34 | }, |
34 | 35 | "resolutions": { |
35 | | - "@types/jest": "^29.5.12", |
36 | | - "@types/react": "^18.2.58" |
| 36 | + "@types/jest": "^29.5.14", |
| 37 | + "@types/react": "^19.0.10" |
37 | 38 | }, |
38 | 39 | "devDependencies": { |
39 | | - "@size-limit/preset-app": "^11.0.2", |
| 40 | + "@size-limit/preset-app": "^11.2.0", |
40 | 41 | "@testing-library/react-hooks": "^8.0.1", |
41 | | - "@testing-library/react-native": "^12.4.3", |
42 | | - "@tsconfig/react-native": "^3.0.3", |
43 | | - "@types/jest": "^29.5.12", |
44 | | - "@types/react": "^18.2.58", |
45 | | - "@types/react-test-renderer": "^18.0.7", |
46 | | - "@typescript-eslint/eslint-plugin": "^7.0.2", |
47 | | - "@typescript-eslint/parser": "^7.0.2", |
| 42 | + "@testing-library/react-native": "^13.0.1", |
| 43 | + "@tsconfig/react-native": "^3.0.5", |
| 44 | + "@types/jest": "^29.5.14", |
| 45 | + "@types/react": "^19.0.10", |
| 46 | + "@types/react-test-renderer": "^19.0.0", |
| 47 | + "@typescript-eslint/eslint-plugin": "^8.24.1", |
| 48 | + "@typescript-eslint/parser": "^8.24.1", |
48 | 49 | "doctoc": "^2.2.1", |
49 | | - "eslint": "^8.57.0", |
50 | | - "eslint-config-prettier": "^9.1.0", |
51 | | - "eslint-plugin-prettier": "^5.1.3", |
52 | | - "eslint-plugin-react": "^7.33.2", |
| 50 | + "eslint": "^8.57.1", |
| 51 | + "eslint-config-prettier": "^10.0.1", |
| 52 | + "eslint-plugin-prettier": "^5.2.3", |
| 53 | + "eslint-plugin-react": "^7.37.4", |
53 | 54 | "jest": "^29.7.0", |
54 | | - "prettier": "^3.2.5", |
55 | | - "react": "^18.2.0", |
56 | | - "react-native": "0.73.4", |
57 | | - "react-native-test-app": "^3.2.11", |
58 | | - "react-test-renderer": "^18.2.0", |
59 | | - "size-limit": "^11.0.2", |
60 | | - "typescript": "^5.3.3" |
| 55 | + "prettier": "^3.5.1", |
| 56 | + "react": "^19.0.0", |
| 57 | + "react-native": "^0.77.1", |
| 58 | + "react-native-test-app": "^4.1.3", |
| 59 | + "react-test-renderer": "^19.0.0", |
| 60 | + "size-limit": "^11.2.0", |
| 61 | + "typescript": "^5.7.3" |
61 | 62 | }, |
62 | 63 | "author": "David <4661784+retyui@users.noreply.github.com>", |
63 | 64 | "description": "A react-native component to input confirmation code for both Android and IOS", |
|
80 | 81 | "pin-code", |
81 | 82 | "confirmation-code-input", |
82 | 83 | "pin-code-input" |
83 | | - ] |
| 84 | + ], |
| 85 | + "packageManager": "yarn@4.6.0" |
84 | 86 | } |
0 commit comments