Skip to content

Commit 54fca97

Browse files
committed
Update the README build instructions
1 parent 1d1fd33 commit 54fca97

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

README.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -94,27 +94,9 @@ Requires a nightly version of Rust.
9494

9595
Get the source code from https://github.com/nrc/cargo-src.
9696

97-
* setup the React/webpack environment (requires npm):
98-
```sh
99-
npm install
100-
101-
# if you have yarn installed:
102-
103-
yarn
104-
105-
# if not:
106-
107-
npm install --save react react-dom
108-
npm install --save react-treebeard
109-
npm install --save-dev babel-loader babel-core
110-
npm install --save-dev babel-preset-react
111-
npm install --save-dev babel-preset-es2015
112-
npm install --save-dev babel-plugin-transform-object-rest-spread
113-
npm install --save-dev webpack
114-
npm install --save-dev immutable
115-
```
116-
* build the JS components: `npm run build` or `yarn build`
117-
* `cargo build --release` to build the Rust parts.
97+
* Install the dependencies: `npm install` or `yarn`
98+
* Build the JS components: `npm run build` or `yarn build`
99+
* Build the Rust parts: `cargo build --release`
118100

119101
### Running
120102

0 commit comments

Comments
 (0)