Skip to content

Commit

Permalink
[contributing] Update npm run react syntax in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adambowles authored and ljharb committed Mar 8, 2019
1 parent b077728 commit f5d4a5c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ git clone https://github.com/airbnb/enzyme.git
# step into local repo
cd enzyme

# install dependencies (use react:13 if you want to use React 0.13)
npm install && npm run react 14
# install dependencies (use `react 13` if you want to use React 0.13)
npm install

# install react version
# accepts `13` for v0.13, `14` for v0.14, and for versions 15+,
# accepts either a major (`15`, `16`) or a minor (`15.4`, `16.8`)
npm run react 16
```


Expand Down

0 comments on commit f5d4a5c

Please sign in to comment.