This repo holds source code for the React library. It is updated regularly to match react-devtools, but you may still be missing the latest code.
You will be required to run your npm run dev node command to build it.
The npm package installs all dependencies for this library. This means you need to install the
react-devtools package, or at least install some of the dependencies, depending on your
development environment.
npm install react-devtools
You should have some of the following packages installed:
npm install -g -g node
npm install -g git
npm install -g jshint -g jshint-lintYou will need to run a node command to be able to build the library, but this command runs as
a production command, meaning you will be able to view the devtools.
npm run devThe dev command will use jshint and jshint-lint to ensure that the code is well-formed.
It also uses node-prebuilt for some common file types.
This package also requires the react-jsx package (see npm package summary for a list of dependencies).
npm install -g react-jsxBuild is a simple one line command. You need to include all required packages
npm run buildTo run npm run dev, run:
npm run devYou should be able to access the devtools, dev and watch views of this library.
- run
npm run testto run the unit test suite - run
npm run test--coverageto run all unit test coverage tests
This library is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.