1 | {
|
2 | "name": "react-native-reanimated",
|
3 | "version": "3.16.1",
|
4 | "description": "More powerful alternative to Animated library for React Native.",
|
5 | "scripts": {
|
6 | "test": "jest",
|
7 | "lint": "yarn lint:js && yarn lint:plugin && yarn lint:common && yarn lint:android && yarn lint:apple",
|
8 | "lint:js": "eslint --ext '.js,.ts,.tsx' src __tests__ __typetests__ && yarn prettier --check src __tests__ __typetests__",
|
9 | "lint:plugin": "cd plugin && yarn lint",
|
10 | "lint:android": "./scripts/validate-android.sh && ./android/gradlew -p android spotlessCheck -q && ./scripts/cpplint.sh android/src && yarn format:android:cpp --dry-run -Werror",
|
11 | "lint:common": "./scripts/validate-common.sh && ./scripts/cpplint.sh Common && yarn format:common --dry-run -Werror",
|
12 | "lint:apple": "./scripts/validate-apple.sh && yarn format:apple --dry-run -Werror",
|
13 | "format": "yarn format:js && yarn format:plugin && yarn format:apple && yarn format:android:java && yarn format:android:cpp && yarn format:common",
|
14 | "format:js": "prettier --write --list-different src __tests__ __typetests__",
|
15 | "format:plugin": "cd plugin && yarn format",
|
16 | "format:apple": "find apple -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.mm\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
17 | "format:android:java": "node ./scripts/format-java.js",
|
18 | "format:android:cpp": "find android/src -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
19 | "format:common": "find Common -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
20 | "find-unused-code:js": "yarn ts-prune --ignore \"index|.web.\" --error",
|
21 | "type:check": "yarn type:check:src && yarn type:check:plugin && ./scripts/test-ts.sh ../../apps/common-app/src/App.tsx __typetests__/common __typetests__/72plus __typetests__/legacy",
|
22 | "type:check:src": "yarn tsc --noEmit",
|
23 | "type:check:plugin": "cd plugin && yarn type:check:src",
|
24 | "type:check:app": "./scripts/test-ts.sh ../../apps/common-app/src/App.tsx",
|
25 | "type:check:tests:common": "./scripts/test-ts.sh __typetests__/common",
|
26 | "type:check:tests:0.72+": "./scripts/test-ts.sh __typetests__/72plus",
|
27 | "type:check:tests:legacy": "./scripts/test-ts.sh __typetests__/legacy",
|
28 | "build": "yarn build:plugin && bob build",
|
29 | "build:plugin": "cd plugin && yarn build",
|
30 | "circular-dependency-check": "yarn madge --extensions js,ts,tsx --circular src lib",
|
31 | "use-strict-check": "node ./scripts/validate-use-strict.js",
|
32 | "prepack": "cp ../../README.md ./README.md",
|
33 | "postpack": "rm ./README.md"
|
34 | },
|
35 | "main": "lib/module/index",
|
36 | "module": "lib/module/index",
|
37 | "react-native": "src/index",
|
38 | "source": "src/index",
|
39 | "types": "lib/typescript/index.d.ts",
|
40 | "files": [
|
41 | "Common/",
|
42 | "src/",
|
43 | "lib/",
|
44 | "android/src/main/AndroidManifest.xml",
|
45 | "android/src/main/java/",
|
46 | "android/build.gradle",
|
47 | "android/",
|
48 | "apple/",
|
49 | "RNReanimated.podspec",
|
50 | "scripts/reanimated_utils.rb",
|
51 | "mock.js",
|
52 | "plugin/index.js",
|
53 | "metro-config",
|
54 | "!**/__tests__",
|
55 | "!**/__fixtures__",
|
56 | "!**/__mocks__",
|
57 | "!apple/build/",
|
58 | "!android/build/",
|
59 | "!android/.cxx/",
|
60 | "!android/.gradle/",
|
61 | "!__snapshots__",
|
62 | "!*.test.js",
|
63 | "!*.test.js.map",
|
64 | "!**/node_modules"
|
65 | ],
|
66 | "repository": {
|
67 | "type": "git",
|
68 | "url": "git+https://github.com/software-mansion/react-native-reanimated.git",
|
69 | "directory": "packages/react-native-reanimated"
|
70 | },
|
71 | "author": {
|
72 | "email": "krzys.magiera@gmail.com",
|
73 | "name": "Krzysztof Magiera"
|
74 | },
|
75 | "license": "MIT",
|
76 | "readmeFilename": "README.md",
|
77 | "bugs": {
|
78 | "url": "https://github.com/software-mansion/react-native-reanimated/issues"
|
79 | },
|
80 | "homepage": "https://docs.swmansion.com/react-native-reanimated",
|
81 | "dependencies": {
|
82 | "@babel/plugin-transform-arrow-functions": "^7.0.0-0",
|
83 | "@babel/plugin-transform-class-properties": "^7.0.0-0",
|
84 | "@babel/plugin-transform-classes": "^7.0.0-0",
|
85 | "@babel/plugin-transform-nullish-coalescing-operator": "^7.0.0-0",
|
86 | "@babel/plugin-transform-optional-chaining": "^7.0.0-0",
|
87 | "@babel/plugin-transform-shorthand-properties": "^7.0.0-0",
|
88 | "@babel/plugin-transform-template-literals": "^7.0.0-0",
|
89 | "@babel/plugin-transform-unicode-regex": "^7.0.0-0",
|
90 | "@babel/preset-typescript": "^7.16.7",
|
91 | "convert-source-map": "^2.0.0",
|
92 | "invariant": "^2.2.4"
|
93 | },
|
94 | "peerDependencies": {
|
95 | "@babel/core": "^7.0.0-0",
|
96 | "react": "*",
|
97 | "react-native": "*"
|
98 | },
|
99 | "devDependencies": {
|
100 | "@babel/cli": "^7.20.0",
|
101 | "@babel/core": "^7.25.2",
|
102 | "@babel/preset-env": "^7.25.3",
|
103 | "@babel/types": "^7.20.0",
|
104 | "@react-native/babel-preset": "0.76.0-rc.3",
|
105 | "@react-native/eslint-config": "0.76.0-rc.3",
|
106 | "@react-native/metro-config": "0.76.0-rc.3",
|
107 | "@react-native/typescript-config": "0.76.0-rc.3",
|
108 | "@testing-library/jest-native": "^4.0.4",
|
109 | "@testing-library/react-hooks": "^8.0.0",
|
110 | "@testing-library/react-native": "^12.5.2",
|
111 | "@types/babel__core": "^7.20.0",
|
112 | "@types/babel__generator": "^7.6.4",
|
113 | "@types/babel__traverse": "^7.14.2",
|
114 | "@types/convert-source-map": "^2.0.0",
|
115 | "@types/invariant": "^2.2.35",
|
116 | "@types/jest": "^29.0.0",
|
117 | "@types/node": "^18.0.0",
|
118 | "@types/react": "^18.0.26",
|
119 | "@types/react-test-renderer": "^17.0.0-0",
|
120 | "@typescript-eslint/eslint-plugin": "^6.19.0",
|
121 | "@typescript-eslint/parser": "^6.19.0",
|
122 | "@typescript-eslint/rule-tester": "^6.21.0",
|
123 | "axios": "^1.7.4",
|
124 | "babel-eslint": "^10.1.0",
|
125 | "babel-jest": "^27.5.1",
|
126 | "babel-plugin-module-resolver": "^5.0.0",
|
127 | "clang-format": "^1.6.0",
|
128 | "code-tag": "^1.1.0",
|
129 | "cspell": "^8.8.0",
|
130 | "eslint": "^8.57.0",
|
131 | "eslint-config-prettier": "^8.3.0",
|
132 | "eslint-config-standard": "^17.1.0",
|
133 | "eslint-import-resolver-babel-module": "^5.3.1",
|
134 | "eslint-plugin-import": "^2.25.4",
|
135 | "eslint-plugin-jest": "^27.2.1",
|
136 | "eslint-plugin-n": "^16.4.0",
|
137 | "eslint-plugin-no-inline-styles": "^1.0.5",
|
138 | "eslint-plugin-promise": "^6.0.0",
|
139 | "eslint-plugin-react-hooks": "^4.6.0",
|
140 | "eslint-plugin-reanimated": "workspace:*",
|
141 | "eslint-plugin-standard": "^5.0.0",
|
142 | "eslint-plugin-tsdoc": "^0.2.17",
|
143 | "jest": "^29.0.0",
|
144 | "madge": "^5.0.1",
|
145 | "prettier": "^3.3.3",
|
146 | "react": "18.3.1",
|
147 | "react-native": "0.76.0-rc.3",
|
148 | "react-native-builder-bob": "0.30.2",
|
149 | "react-native-gesture-handler": "2.20.0",
|
150 | "react-native-web": "0.19.11",
|
151 | "react-test-renderer": "18.2.0",
|
152 | "shelljs": "^0.8.5",
|
153 | "ts-prune": "^0.10.3",
|
154 | "typescript": "~5.3.0"
|
155 | },
|
156 | "react-native-builder-bob": {
|
157 | "source": "src",
|
158 | "output": "lib",
|
159 | "targets": [
|
160 | [
|
161 | "module",
|
162 | {
|
163 | "esm": true
|
164 | }
|
165 | ],
|
166 | "typescript"
|
167 | ]
|
168 | },
|
169 | "codegenConfig": {
|
170 | "name": "rnreanimated",
|
171 | "type": "modules",
|
172 | "jsSrcsDir": "./src/specs",
|
173 | "android": {
|
174 | "javaPackageName": "com.swmansion.reanimated"
|
175 | }
|
176 | },
|
177 | "sideEffects": [
|
178 | "./lib/module/reanimated2/layoutReanimation/animationsManager.js",
|
179 | "./lib/module/reanimated2/core.js",
|
180 | "./lib/module/index.js"
|
181 | ],
|
182 | "packageManager": "yarn@4.1.1"
|
183 | }
|