Create-react-app: How can I find the current version of react-scripts? [Solved]

Created on 7 Mar 2017  路  6Comments  路  Source: facebook/create-react-app

I'm using create-react-app successfully, and have been working on a different project for a couple months.

I want to get up-to-date, but have lost track of which version I'm running. What's the easiest way to do this? Thanks!

Most helpful comment

Yes, I'm a newbie to some of this, and didn't have the faith of my convictions.

Look in the project's package.json in the devDepencencies, and Ta Da! There's the react-scripts version. Thanks, all for the speedy response!

All 6 comments

You should just need to look inside your package.json file. It should be listed under devDependencies.

See also Updating to New Releases:

To update an existing project to a new version of react-scripts, open the changelog, find the version you鈥檙e currently on (check package.json in this folder if you鈥檙e not sure), and apply the migration instructions for the newer versions.

Yes, I'm a newbie to some of this, and didn't have the faith of my convictions.

Look in the project's package.json in the devDepencencies, and Ta Da! There's the react-scripts version. Thanks, all for the speedy response!

No worries, that鈥檚 what issues exist for. Thanks for asking!

I am using npx create-react-app and then yarn instead of npm, so i can't seem to find the devDependencies in my package.json, is there an alternative ?

Was this page helpful?
0 / 5 - 0 ratings