mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
This is being done so that we can embed DevTools within the new React (beta) docs. The primary changes here are to `react-devtools-inline/backend`: * Add a new `createBridge` API * Add an option to the `activate` method to support passing in the custom bridge object. The `react-devtools-inline` README has been updated to include these new methods. To verify these changes, this commit also updates the test shell to add a new entry-point for multiple DevTools. This commit also replaces two direct calls to `window.postMessage()` with `bridge.send()` (and adds the related Flow types).
27 lines
580 B
JSON
27 lines
580 B
JSON
{
|
|
"name": "react-devtools",
|
|
"version": "4.21.0",
|
|
"description": "Use react-devtools outside of the browser",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react.git",
|
|
"directory": "packages/react-devtools"
|
|
},
|
|
"bin": {
|
|
"react-devtools": "./bin.js"
|
|
},
|
|
"files": [],
|
|
"scripts": {
|
|
"start": "node bin.js"
|
|
},
|
|
"dependencies": {
|
|
"cross-spawn": "^5.0.1",
|
|
"electron": "^11.1.0",
|
|
"ip": "^1.1.4",
|
|
"minimist": "^1.2.3",
|
|
"react-devtools-core": "4.21.0",
|
|
"update-notifier": "^2.1.0"
|
|
}
|
|
}
|