mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2c749a814a
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54145 [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D84571624 fbshipit-source-id: 7bb915d544ac539b055c32ddec9a52d05cec0a99
129 lines
4.9 KiB
JSON
129 lines
4.9 KiB
JSON
{
|
|
"name": "@react-native/monorepo",
|
|
"private": true,
|
|
"version": "1000.0.0",
|
|
"license": "MIT",
|
|
"packageManager": "yarn@1.22.22",
|
|
"scripts": {
|
|
"android": "yarn --cwd packages/rn-tester android",
|
|
"build-android": "./gradlew :packages:react-native:ReactAndroid:build",
|
|
"build": "node ./scripts/build/build.js",
|
|
"build-types": "node ./scripts/js-api/build-types",
|
|
"clang-format": "clang-format -i --glob=*/**/*.{h,cpp,m,mm}",
|
|
"clean": "node ./scripts/build/clean.js",
|
|
"cxx-api-build": "node ./scripts/cxx-api/public-api.js",
|
|
"flow-check": "flow check",
|
|
"flow": "flow",
|
|
"format-check": "prettier --list-different \"./**/*.{js,md,yml,ts,tsx}\"",
|
|
"format": "npm run prettier && npm run clang-format",
|
|
"featureflags": "yarn --cwd packages/react-native featureflags",
|
|
"js-api-diff": "node ./scripts/js-api/diff-api-snapshot",
|
|
"lint-ci": "./.github/workflow-scripts/analyze_code.sh && yarn shellcheck",
|
|
"lint-kotlin-check": "./gradlew ktfmtCheck",
|
|
"lint-kotlin": "./gradlew ktfmtFormat",
|
|
"lint-markdown": "markdownlint-cli2 2>&1",
|
|
"lint": "eslint --max-warnings 0 .",
|
|
"prettier": "prettier --write \"./**/*.{js,md,yml,ts,tsx}\"",
|
|
"print-packages": "node ./scripts/monorepo/print",
|
|
"shellcheck": "./.github/workflow-scripts/analyze_scripts.sh",
|
|
"start": "yarn --cwd packages/rn-tester start",
|
|
"set-version": "node ./scripts/releases/set-version.js",
|
|
"test-android": "./gradlew :packages:react-native:ReactAndroid:test",
|
|
"test-ci": "jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"",
|
|
"test-release-local-clean": "node ./scripts/release-testing/test-release-local-clean.js",
|
|
"test-release-local": "node ./scripts/release-testing/test-release-local.js",
|
|
"test-ios": "./scripts/objc-test.sh test",
|
|
"test-typescript": "tsc -p packages/react-native/types/tsconfig.json",
|
|
"test-generated-typescript": "tsc -p packages/react-native/types_generated/tsconfig.test.json",
|
|
"test": "jest",
|
|
"fantom": "./scripts/fantom.sh",
|
|
"trigger-react-native-release": "node ./scripts/releases-local/trigger-react-native-release.js",
|
|
"update-lock": "npx yarn-deduplicate"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"private/*",
|
|
"!private/helloworld"
|
|
],
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/eslint-parser": "^7.25.1",
|
|
"@babel/generator": "^7.25.0",
|
|
"@babel/plugin-syntax-typescript": "^7.25.4",
|
|
"@babel/plugin-transform-regenerator": "^7.24.7",
|
|
"@babel/preset-env": "^7.25.3",
|
|
"@babel/preset-flow": "^7.24.7",
|
|
"@electron/packager": "^18.3.6",
|
|
"@expo/spawn-async": "^1.7.2",
|
|
"@jest/create-cache-key-function": "^29.7.0",
|
|
"@microsoft/api-extractor": "^7.52.2",
|
|
"@octokit/rest": "^22.0.0",
|
|
"@react-native/metro-babel-transformer": "0.83.0-main",
|
|
"@react-native/metro-config": "0.83.0-main",
|
|
"@tsconfig/node22": "22.0.2",
|
|
"@types/react": "^19.1.0",
|
|
"@typescript-eslint/parser": "^8.36.0",
|
|
"ansi-regex": "^5.0.0",
|
|
"ansi-styles": "^4.2.1",
|
|
"babel-plugin-minify-dead-code-elimination": "^0.5.2",
|
|
"babel-plugin-syntax-hermes-parser": "0.32.0",
|
|
"babel-plugin-transform-define": "^2.1.4",
|
|
"babel-plugin-transform-flow-enums": "^0.0.2",
|
|
"clang-format": "^1.8.0",
|
|
"connect": "^3.6.5",
|
|
"debug": "^4.4.0",
|
|
"deep-equal": "1.1.1",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-babel": "^5.3.1",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-ft-flow": "^2.0.1",
|
|
"eslint-plugin-jest": "^29.0.1",
|
|
"eslint-plugin-jsx-a11y": "^6.6.0",
|
|
"eslint-plugin-react": "^7.30.1",
|
|
"eslint-plugin-react-native": "^4.0.0",
|
|
"eslint-plugin-redundant-undefined": "^0.4.0",
|
|
"eslint-plugin-relay": "^1.8.3",
|
|
"fb-dotslash": "0.5.8",
|
|
"flow-api-translator": "0.32.0",
|
|
"flow-bin": "^0.288.0",
|
|
"glob": "^7.1.1",
|
|
"hermes-eslint": "0.32.0",
|
|
"hermes-transform": "0.32.0",
|
|
"ini": "^5.0.0",
|
|
"inquirer": "^7.1.0",
|
|
"jest": "^29.7.0",
|
|
"jest-config": "^29.7.0",
|
|
"jest-diff": "^29.7.0",
|
|
"jest-junit": "^16.0.0",
|
|
"jest-snapshot": "^29.7.0",
|
|
"jsonc-parser": "2.2.1",
|
|
"markdownlint-cli2": "^0.17.2",
|
|
"markdownlint-rule-relative-links": "^3.0.0",
|
|
"memfs": "^4.38.2",
|
|
"metro-babel-register": "^0.83.3",
|
|
"metro-transform-plugins": "^0.83.3",
|
|
"micromatch": "^4.0.4",
|
|
"node-fetch": "^2.2.0",
|
|
"nullthrows": "^1.1.1",
|
|
"prettier": "3.6.2",
|
|
"prettier-plugin-hermes-parser": "0.32.0",
|
|
"react": "19.2.0",
|
|
"react-test-renderer": "19.2.0",
|
|
"rimraf": "^3.0.2",
|
|
"shelljs": "^0.8.5",
|
|
"signedsource": "^2.0.0",
|
|
"supports-color": "^7.1.0",
|
|
"temp-dir": "^2.0.0",
|
|
"tinybench": "^4.1.0",
|
|
"typescript": "5.8.3",
|
|
"ws": "^7.5.10"
|
|
},
|
|
"resolutions": {
|
|
"eslint-plugin-react-hooks": "6.1.0-canary-12bc60f5-20250613",
|
|
"react-is": "19.2.0",
|
|
"on-headers": "1.1.0",
|
|
"compression": "1.8.1"
|
|
}
|
|
}
|