|
35 | 35 | "docs" |
36 | 36 | ], |
37 | 37 | "scripts": { |
38 | | - "typescript": "tsc --noEmit", |
39 | | - "lint": "yarn lint-no-fix --fix", |
40 | | - "lint-no-fix": "eslint --ext '.js,.ts,.tsx' .", |
| 38 | + "lint": "eslint --ext '.js,.ts,.tsx' .", |
| 39 | + "typecheck": "tsc", |
41 | 40 | "test": "jest", |
42 | | - "prepack": "bob build && node ./scripts/generate-mappings.js", |
| 41 | + "prepack": "bob build", |
| 42 | + "generate-mappings": "node ./scripts/generate-mappings.ts", |
43 | 43 | "release": "release-it --only-version", |
44 | 44 | "docs": "yarn --cwd docs", |
45 | 45 | "example": "yarn --cwd example" |
|
55 | 55 | "devDependencies": { |
56 | 56 | "@babel/core": "^7.29.0", |
57 | 57 | "@babel/plugin-proposal-export-namespace-from": "^7.18.9", |
58 | | - "@babel/runtime": "^7.29.0", |
| 58 | + "@babel/types": "^7.28.5", |
59 | 59 | "@callstack/eslint-config": "^13.0.2", |
60 | 60 | "@commitlint/config-conventional": "^8.3.4", |
61 | 61 | "@jest/globals": "^29.7.0", |
|
68 | 68 | "@testing-library/react-native": "11.5.0", |
69 | 69 | "@types/color": "^3.0.0", |
70 | 70 | "@types/jest": "^29.2.1", |
71 | | - "@types/node": "^13.1.0", |
72 | | - "@types/react-dom": "^19.1.1", |
73 | | - "@types/react-native-vector-icons": "^6.4.18", |
| 71 | + "@types/node": "^24.0.0", |
74 | 72 | "@types/react-test-renderer": "^19.1.0", |
75 | 73 | "@typescript-eslint/eslint-plugin": "^5.41.0", |
76 | 74 | "@typescript-eslint/parser": "^5.41.0", |
77 | 75 | "all-contributors-cli": "^6.24.0", |
78 | | - "babel-cli": "^6.26.0", |
79 | | - "babel-core": "^7.0.0-bridge.0", |
80 | 76 | "babel-jest": "^29.6.3", |
81 | | - "babel-loader": "^8.2.3", |
82 | 77 | "babel-test": "^0.1.1", |
83 | | - "chalk": "^4.0.0", |
84 | 78 | "commitlint": "^8.3.4", |
85 | | - "conventional-changelog-cli": "^2.0.11", |
86 | | - "dedent": "^0.7.0", |
87 | 79 | "eslint": "8.31.0", |
88 | 80 | "eslint-plugin-flowtype": "^8.0.3", |
89 | 81 | "eslint-plugin-local-rules": "^1.3.2", |
90 | | - "glob": "^7.1.3", |
91 | | - "husky": "^1.3.1", |
92 | 82 | "jest": "^29.6.3", |
93 | 83 | "jest-file-snapshot": "^0.3.2", |
| 84 | + "lefthook": "^2.1.9", |
94 | 85 | "react": "19.2.3", |
95 | | - "react-dom": "19.2.3", |
96 | 86 | "react-native": "0.85.3", |
97 | 87 | "react-native-builder-bob": "^0.42.1", |
98 | 88 | "react-native-reanimated": "4.3.1", |
99 | 89 | "react-native-safe-area-context": "5.7.0", |
100 | 90 | "react-native-worklets": "0.8.3", |
101 | 91 | "react-test-renderer": "19.2.3", |
102 | 92 | "release-it": "^13.4.0", |
103 | | - "rimraf": "^3.0.2", |
104 | 93 | "typescript": "5.8.3" |
105 | 94 | }, |
106 | 95 | "peerDependencies": { |
|
110 | 99 | "react-native-safe-area-context": "*", |
111 | 100 | "react-native-worklets": ">=0.8.1" |
112 | 101 | }, |
113 | | - "husky": { |
114 | | - "hooks": { |
115 | | - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
116 | | - "pre-commit": "yarn lint-no-fix && yarn typescript && yarn test" |
117 | | - } |
118 | | - }, |
119 | 102 | "jest": { |
120 | 103 | "preset": "@react-native/jest-preset", |
121 | 104 | "setupFiles": [ |
|
149 | 132 | "react-test-renderer", |
150 | 133 | "@types/react-native", |
151 | 134 | "@types/jest", |
152 | | - "husky", |
153 | 135 | "eslint" |
154 | 136 | ] |
155 | 137 | }, |
|
163 | 145 | { |
164 | 146 | "project": "tsconfig.build.json" |
165 | 147 | } |
| 148 | + ], |
| 149 | + [ |
| 150 | + "custom", |
| 151 | + { |
| 152 | + "script": "generate-mappings", |
| 153 | + "clean": "lib/mappings.json" |
| 154 | + } |
166 | 155 | ] |
167 | 156 | ] |
168 | 157 | }, |
|
0 commit comments