Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Add script for changing Node.js version #126

Open
josbroers opened this issue Oct 22, 2021 · 0 comments
Open

Add script for changing Node.js version #126

josbroers opened this issue Oct 22, 2021 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@josbroers
Copy link
Owner

To change the version on Node.js in the .nvmrc file we need to use the following command:

node -v > .nvmrc

To simplify the use of this command, we can add a new script in the package.json with the following:

"scripts": {
  "nvm": "node -v > .nvmrc"
},
@josbroers josbroers added the documentation Improvements or additions to documentation label Oct 22, 2021
@josbroers josbroers added this to the Version 1.2.* milestone Oct 22, 2021
@josbroers josbroers self-assigned this Oct 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant