Skip to content

Conversation

@MichaelGoberling
Copy link
Contributor

  • Update readme docs to use yarn instead of npm
  • Update yarn to 4.4.0

yarn install
```

1. Run a development build:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you take a look at package.json, it already has commands that are wrappers around yarn. Do you think it makes sense to expose yarn commands separately and use them instead of the commands specified in package.json?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yarn does run the scripts from package.json

For instance yarn dev runs the "dev": ... script, yarn build runs "build": ... and so on

You can confirm by running yarn dev --help, first line will be gatsby develop which is the script command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants