mirror of
https://github.com/facebook/react.git
synced 2026-02-24 12:43:00 +00:00
* Add version 4 react-devtools and react-devtools-core packages which support both React Native and e.g. Safari or iframe DOM usage. * Replaces typed operations arrays with regular arrays in order to support Hermes. This is unfortunate, since in theory a typed array buffer could be more efficiently transferred between frontend and backend for the web extension, but this never actually worked properly in v8, only Spidermonkey, and it fails entirely in Hermes so for the time being- it's been removed. * Adds support for React Native (paper renderer) * Adds a style editor for react-native and react-native-web
32 lines
981 B
JSON
32 lines
981 B
JSON
{
|
|
"name": "react-devtools-core",
|
|
"description": "Use react-devtools outside of the browser",
|
|
"version": "4.0.0",
|
|
"license": "MIT",
|
|
"main": "./dist/backend.js",
|
|
"repository": {
|
|
"url": "https://github.com/bvaughn/react-devtools-experimental.git",
|
|
"type": "git"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"backend.js",
|
|
"standalone.js"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn build:backend && yarn build:standalone",
|
|
"build:backend": "cross-env NODE_ENV=production webpack --config webpack.backend.js",
|
|
"build:standalone": "cross-env NODE_ENV=production webpack --config webpack.standalone.js",
|
|
"prepublish": "yarn run build",
|
|
"start:backend": "cross-env NODE_ENV=development webpack --config webpack.backend.js --watch",
|
|
"start:standalone": "cross-env NODE_ENV=development webpack --config webpack.standalone.js --watch"
|
|
},
|
|
"dependencies": {
|
|
"shell-quote": "^1.6.1",
|
|
"ws": "^7"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "^3.1.4"
|
|
}
|
|
}
|