mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ba24f5f903
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53438 Changelog: [Internal] Makes `flavor: 'prebuilt'` the default mode of launching the RNDT standalone shell, and the *only* mode supported in the published version of the package. See D78351931 for more context. With this, we can demote `electron` from `dependencies` to `devDependencies`. This makes it possible to make `debugger-shell` a dependency of `dev-middleware` (and thus of all major frameworks) without significantly impacting `npm install` times. We'll add this dependency on `debugger-shell` in an upcoming diff (D78351937). We also stop publishing the `dist/electron` subdirectory (and `src/electron` for good measure) since the corresponding code will always be bundled into the prebuilt binary instead. Reviewed By: huntie Differential Revision: D78351934 fbshipit-source-id: 2a4b03e852c4d0330250567c41dca09d1c4f3abd
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "@react-native/debugger-shell",
|
|
"version": "0.82.0-main",
|
|
"description": "Experimental debugger shell for React Native for use with @react-native/debugger-frontend",
|
|
"keywords": [
|
|
"react-native",
|
|
"tools"
|
|
],
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/debugger-shell#readme",
|
|
"bugs": "https://github.com/facebook/react-native/issues",
|
|
"main": "./src/index.js",
|
|
"exports": {
|
|
".": {
|
|
"node": "./src/node/index.js",
|
|
"electron": "./src/electron/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"dev": "electron src/electron"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/react-native.git",
|
|
"directory": "packages/debugger-shell"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">= 20.19.4"
|
|
},
|
|
"dependencies": {
|
|
"cross-spawn": "^7.0.6",
|
|
"fb-dotslash": "0.5.8"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "37.2.6",
|
|
"semver": "^7.1.3"
|
|
},
|
|
"files": [
|
|
"!**/__tests__/**",
|
|
"bin",
|
|
"dist",
|
|
"!src/electron"
|
|
]
|
|
}
|