chore: update map
This commit is contained in:
+106
-111
@@ -1,54 +1,46 @@
|
||||
{
|
||||
"name": "react-native-reanimated",
|
||||
"version": "3.6.3",
|
||||
"version": "4.1.6",
|
||||
"description": "More powerful alternative to Animated library for React Native.",
|
||||
"keywords": [
|
||||
"react-native",
|
||||
"react",
|
||||
"native",
|
||||
"reanimated"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "yarn run format:js && yarn run lint:js && yarn run test:unit",
|
||||
"test:unit": "jest",
|
||||
"test:update-snapshot": "jest --updateSnapshot",
|
||||
"lint": "yarn lint:js && yarn lint:plugin && yarn lint:cpp && yarn lint:java && yarn lint:ios",
|
||||
"lint:js": "eslint --ext '.js,.ts,.tsx' src __tests__ __typetests__ && yarn prettier --check src __tests__ __typetests__",
|
||||
"lint:plugin": "cd plugin && yarn lint && cd ..",
|
||||
"lint:docs": "cd docs && yarn lint && cd ..",
|
||||
"lint:java": "./android/gradlew -p android spotlessCheck -q",
|
||||
"lint:cpp": "./scripts/cpplint.sh",
|
||||
"lint:ios": "./scripts/validate-ios.sh && yarn format:ios --dry-run",
|
||||
"format": "yarn format:js && yarn format:plugin && yarn format:java && yarn format:ios && yarn format:android && yarn format:common",
|
||||
"test": "jest",
|
||||
"lint": "yarn lint:js && yarn lint:common && yarn lint:android && yarn lint:apple",
|
||||
"lint:js": "eslint src __tests__ __typetests__ && yarn prettier --check src __tests__ __typetests__",
|
||||
"lint:android": "../../scripts/validate-android.sh && ./android/gradlew -p android spotlessCheck -q && ../../scripts/cpplint.sh android/src && yarn format:android:cpp --dry-run -Werror && yarn lint:cmake",
|
||||
"lint:common": "../../scripts/validate-common.sh && ../../scripts/cpplint.sh Common && yarn format:common --dry-run -Werror",
|
||||
"lint:clang-tidy": "find Common -iname \"*.h\" -o -iname \"*.cpp\" | xargs ../../scripts/clang-tidy-lint.sh",
|
||||
"lint:apple": "../../scripts/validate-apple.sh && yarn format:apple --dry-run -Werror",
|
||||
"lint:cmake": "find ./android -type d \\( -name build -o -name .cxx \\) -prune -o -type f -name 'CMakeLists.txt' -print | xargs ../../scripts/lint-cmake.sh",
|
||||
"format": "yarn format:js && yarn format:apple && yarn format:android && yarn format:common",
|
||||
"format:js": "prettier --write --list-different src __tests__ __typetests__",
|
||||
"format:plugin": "cd plugin && yarn format && cd ..",
|
||||
"format:java": "node ./scripts/format-java.js",
|
||||
"format:ios": "find apple/ -iname *.h -o -iname *.m -o -iname *.mm -o -iname *.cpp | xargs clang-format -i --Werror",
|
||||
"format:android": "find android/src/ -iname *.h -o -iname *.cpp | xargs clang-format -i",
|
||||
"format:common": "find Common/ -iname *.h -o -iname *.cpp | xargs clang-format -i",
|
||||
"format:docs": "cd docs && yarn format && cd ..",
|
||||
"find-unused-code:js": "yarn ts-prune --ignore \"index|.web.\" --error ",
|
||||
"format:apple": "find apple -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.mm\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
||||
"format:android": "yarn format:android:java && yarn format:android:cpp && yarn format:android:cmake",
|
||||
"format:android:java": "node ../../scripts/format-java.js",
|
||||
"format:android:cpp": "find android/src -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
||||
"format:android:cmake": "find ./android -type d \\( -name build -o -name .cxx \\) -prune -o -type f -name 'CMakeLists.txt' -print | xargs ../../scripts/format-cmake.sh",
|
||||
"format:common": "find Common -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
||||
"find-unused-code:js": "knip",
|
||||
"type:check": "yarn type:check:src && yarn type:check:app && yarn type:check:tests:common",
|
||||
"type:check:src": "yarn tsc --noEmit",
|
||||
"type:check:plugin": "cd plugin && yarn type:check:src && cd ..",
|
||||
"type:check:app": "./scripts/test-ts.sh app/src/App.tsx",
|
||||
"type:check:tests:common": "./scripts/test-ts.sh __typetests__/common.tsx",
|
||||
"type:check:tests:0.72+": "./scripts/test-ts.sh __typetests__/0.72+.tsx",
|
||||
"type:check:tests:legacy": "./scripts/test-ts.sh __typetests__/legacy.tsx",
|
||||
"type:check:all": "yarn type:check:src && yarn type:check:plugin && ./scripts/test-ts.sh app/src/App.tsx __typetests__/common.tsx __typetests__/0.72+.tsx __typetests__/legacy.tsx",
|
||||
"prepare": "yarn plugin && bob build && husky install && yarn app",
|
||||
"circular_dependency_check": "yarn madge --extensions js,ts,tsx --circular src lib",
|
||||
"use_strict_check": "node ./scripts/validate-use-strict.js",
|
||||
"setup": "yarn && cd Example && yarn && cd ios && pod install --verbose && cd ../..",
|
||||
"clean": "rm -rf node_modules && cd Example && rm -rf node_modules && cd ios && pod deintegrate && cd ../..",
|
||||
"reset": "yarn clean && yarn setup",
|
||||
"clean:deep": "cd android && rm -rf .cxx .gradle build && cd ../Example/android && rm -rf .gradle build app/build && cd ../.. && yarn clean",
|
||||
"reset:deep": "yarn clean:deep && yarn setup",
|
||||
"plugin": "cd plugin && yarn && cd ..",
|
||||
"app": "cd app && yarn && cd ..",
|
||||
"run-example:ios": "cd Example && yarn && cd ios && pod install && open ReanimatedExample.xcworkspace && cd .. && yarn start --reset-cache",
|
||||
"run-example:ios:cold-start": "cd Example && yarn && cd ios && git clean -xdf && pod install && open ReanimatedExample.xcworkspace && cd .. && yarn start --reset-cache",
|
||||
"run-fabric-example:ios": "cd FabricExample && yarn && cd ios && pod install && open FabricExample.xcworkspace && cd .. && yarn start --reset-cache",
|
||||
"run-fabric-example:ios:cold-start": "cd FabricExample && yarn && cd ios && git clean -xdf && pod install && open FabricExample.xcworkspace && cd .. && yarn start --reset-cache"
|
||||
"type:check:app": "yarn workspace common-app type:check",
|
||||
"type:check:tests:common": "../../scripts/test-ts.sh __typetests__/common",
|
||||
"build": "yarn workspace react-native-worklets build && bob build",
|
||||
"circular-dependency-check": "yarn madge --extensions js,jsx --circular lib",
|
||||
"use-strict-check": "node ../../scripts/validate-use-strict.js",
|
||||
"prepack": "cp ../../README.md ./README.md",
|
||||
"postpack": "rm ./README.md"
|
||||
},
|
||||
"main": "lib/module/index",
|
||||
"module": "lib/module/index",
|
||||
"react-native": "src/index",
|
||||
"source": "src/index",
|
||||
"types": "lib/typescript/index",
|
||||
"types": "lib/typescript/index.d.ts",
|
||||
"files": [
|
||||
"Common/",
|
||||
"src/",
|
||||
@@ -60,9 +52,14 @@
|
||||
"apple/",
|
||||
"RNReanimated.podspec",
|
||||
"scripts/reanimated_utils.rb",
|
||||
"scripts/validate-worklets-build.js",
|
||||
"scripts/validate-worklets-version.js",
|
||||
"scripts/worklets-version.json",
|
||||
"scripts/validate-react-native-version.js",
|
||||
"compatibility.json",
|
||||
"mock.js",
|
||||
"plugin/index.js",
|
||||
"plugin/build/plugin.js",
|
||||
"metro-config",
|
||||
"!**/__tests__",
|
||||
"!**/__fixtures__",
|
||||
"!**/__mocks__",
|
||||
@@ -77,7 +74,8 @@
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/software-mansion/react-native-reanimated.git"
|
||||
"url": "git+https://github.com/software-mansion/react-native-reanimated.git",
|
||||
"directory": "packages/react-native-reanimated"
|
||||
},
|
||||
"author": {
|
||||
"email": "krzys.magiera@gmail.com",
|
||||
@@ -88,106 +86,103 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/software-mansion/react-native-reanimated/issues"
|
||||
},
|
||||
"homepage": "https://github.com/software-mansion/react-native-reanimated#readme",
|
||||
"homepage": "https://docs.swmansion.com/react-native-reanimated",
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-object-assign": "^7.16.7",
|
||||
"@babel/preset-typescript": "^7.16.7",
|
||||
"convert-source-map": "^2.0.0",
|
||||
"invariant": "^2.2.4"
|
||||
"react-native-is-edge-to-edge": "^1.2.1",
|
||||
"semver": "7.7.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0-0",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.0.0-0",
|
||||
"@babel/plugin-transform-arrow-functions": "^7.0.0-0",
|
||||
"@babel/plugin-transform-shorthand-properties": "^7.0.0-0",
|
||||
"@babel/plugin-transform-template-literals": "^7.0.0-0",
|
||||
"react": "*",
|
||||
"react-native": "*"
|
||||
"react-native": "*",
|
||||
"react-native-worklets": ">=0.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.20.0",
|
||||
"@babel/core": "^7.20.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
|
||||
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
||||
"@babel/plugin-transform-arrow-functions": "^7.0.0",
|
||||
"@babel/plugin-transform-shorthand-properties": "^7.0.0",
|
||||
"@babel/plugin-transform-template-literals": "^7.0.0",
|
||||
"@babel/preset-env": "^7.20.0",
|
||||
"@babel/core": "^7.25.2",
|
||||
"@babel/preset-env": "^7.25.3",
|
||||
"@babel/types": "^7.20.0",
|
||||
"@react-native/eslint-config": "^0.72.2",
|
||||
"@react-native/babel-preset": "0.81.0",
|
||||
"@react-native/eslint-config": "0.81.0",
|
||||
"@react-native/metro-config": "0.81.0",
|
||||
"@react-native/typescript-config": "0.81.0",
|
||||
"@shopify/flash-list": "2.0.2",
|
||||
"@testing-library/jest-native": "^4.0.4",
|
||||
"@testing-library/react-hooks": "^8.0.0",
|
||||
"@testing-library/react-native": "^7.1.0",
|
||||
"@testing-library/react-hooks": "^8.0.1",
|
||||
"@testing-library/react-native": "^13.0.1",
|
||||
"@types/babel__core": "^7.20.0",
|
||||
"@types/babel__generator": "^7.6.4",
|
||||
"@types/babel__traverse": "^7.14.2",
|
||||
"@types/convert-source-map": "^2.0.0",
|
||||
"@types/invariant": "^2.2.35",
|
||||
"@types/jest": "^29.0.0",
|
||||
"@types/jest": "^29.5.13",
|
||||
"@types/node": "^18.0.0",
|
||||
"@types/react": "^18.0.26",
|
||||
"@types/react-test-renderer": "17.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
||||
"@typescript-eslint/parser": "^5.11.0",
|
||||
"axios": "^1.4.0",
|
||||
"@types/react": "^19.1.0",
|
||||
"@types/react-test-renderer": "^19.1.0",
|
||||
"@types/semver": "^7",
|
||||
"@typescript-eslint/parser": "^6.19.0",
|
||||
"@typescript-eslint/rule-tester": "^6.21.0",
|
||||
"axios": "^1.8.2",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-jest": "^27.5.1",
|
||||
"babel-plugin-module-resolver": "^5.0.0",
|
||||
"clang-format": "^1.6.0",
|
||||
"clang-format-node": "^1.3.1",
|
||||
"code-tag": "^1.1.0",
|
||||
"eslint": "^8.44.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-config-standard": "^16.0.3",
|
||||
"eslint-import-resolver-babel-module": "^5.3.1",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-jest": "^27.2.1",
|
||||
"cspell": "^8.8.0",
|
||||
"eslint": "^9.29.0",
|
||||
"eslint-config-standard": "^17.1.0",
|
||||
"eslint-import-resolver-babel-module": "^5.3.2",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-jest": "^28.13.0",
|
||||
"eslint-plugin-n": "^17.19.0",
|
||||
"eslint-plugin-no-inline-styles": "^1.0.5",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-promise": "^6.0.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-promise": "^7.2.1",
|
||||
"eslint-plugin-react-hooks": "^5.2.0",
|
||||
"eslint-plugin-reanimated": "workspace:*",
|
||||
"eslint-plugin-standard": "^5.0.0",
|
||||
"eslint-plugin-tsdoc": "^0.2.17",
|
||||
"husky": "^7.0.4",
|
||||
"eslint-plugin-tsdoc": "^0.4.0",
|
||||
"jest": "^29.0.0",
|
||||
"lint-staged": "^11.2.0",
|
||||
"knip": "^5.61.3",
|
||||
"madge": "^5.0.1",
|
||||
"prettier": "^2.5.1",
|
||||
"react": "17.0.2",
|
||||
"react-native": "0.72.6",
|
||||
"react-native-builder-bob": "^0.18.3",
|
||||
"react-native-gesture-handler": "^2.13.2",
|
||||
"react-native-web": "~0.18.12",
|
||||
"react-test-renderer": "17.0.2",
|
||||
"prettier": "^3.3.3",
|
||||
"react": "19.1.0",
|
||||
"react-native": "patch:react-native@npm%3A0.81.0#~/.yarn/patches/react-native-npm-0.81.0-96e336150b.patch",
|
||||
"react-native-builder-bob": "0.40.13",
|
||||
"react-native-gesture-handler": "2.28.0",
|
||||
"react-native-svg": "15.12.1",
|
||||
"react-native-worklets": "workspace:*",
|
||||
"react-test-renderer": "19.1.0",
|
||||
"shelljs": "^0.8.5",
|
||||
"ts-prune": "^0.10.3",
|
||||
"typescript": "^4.1.3"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.(js|ts|tsx)": [
|
||||
"eslint",
|
||||
"eslint --quiet --ext '.js,.ts,.tsx' src/",
|
||||
"prettier --write"
|
||||
],
|
||||
"plugin/**/*.ts": "yarn lint:plugin",
|
||||
"**/*.{h,cpp}": "yarn lint:cpp",
|
||||
"android/src/**/*.java": "yarn format:java",
|
||||
"android/src/**/*.{h,cpp}": "yarn format:android",
|
||||
"apple/**/*.{h,m,mm,cpp}": "yarn format:ios",
|
||||
"Common/**/*.{h,cpp}": "yarn format:common"
|
||||
"typescript": "5.8.3"
|
||||
},
|
||||
"react-native-builder-bob": {
|
||||
"source": "src",
|
||||
"output": "lib",
|
||||
"targets": [
|
||||
"module",
|
||||
[
|
||||
"module",
|
||||
{
|
||||
"esm": false,
|
||||
"jsxRuntime": "automatic"
|
||||
}
|
||||
],
|
||||
"typescript"
|
||||
]
|
||||
},
|
||||
"codegenConfig": {
|
||||
"name": "rnreanimated",
|
||||
"type": "modules",
|
||||
"jsSrcsDir": "./src/specs",
|
||||
"android": {
|
||||
"javaPackageName": "com.swmansion.reanimated"
|
||||
}
|
||||
},
|
||||
"sideEffects": [
|
||||
"./lib/reanimated2/core",
|
||||
"./lib/index"
|
||||
"./src/layoutReanimation/animationsManager.ts",
|
||||
"./lib/module/layoutReanimation/animationsManager.js",
|
||||
"./src/core.ts",
|
||||
"./lib/module/core.js",
|
||||
"./src/initializers.ts",
|
||||
"./lib/module/initializers.js",
|
||||
"./src/index.ts",
|
||||
"./lib/module/index.js"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user