Skip to content

Commit

Permalink
chore: Use npm 5.x everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
ntwb committed Jul 28, 2017
1 parent 88f761b commit 5dbac5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cache:

before_install:
- nvm install 6.11.1 && nvm use 6.11.1
- if [[ `npm -v ` != 5* ]]; then npm i -g npm@5; fi
- npm install --global npm@5

matrix:
include:
Expand Down
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

## Installing & Building the Plugin

Gutenberg is a Node-based project, built primarily in JavaScript. Be sure to have <a href="https://nodejs.org/en/">Node installed first</a>. If you already have Node installed, make sure it's version 6.11.1 or higher for this plugin to work correctly. You can check your Node version by typing `node -v` in the Terminal prompt.
Gutenberg is a Node.js-based project, built primarily in JavaScript. Be sure to have <a href="https://nodejs.org/en/">Node.js installed first</a>. If you already have Node.js installed, make sure it's version 6.11.1 or higher for this plugin to work correctly. You can check your Node.js version by typing `node -v` in the Terminal prompt.

You should also have the latest release of <a href="https://npmjs.org">npm installed</a>, npm is a separate project from Node.js and is updated frequently. If you've just installed Node.js which includes a version of npm within the installation you most likely will need to also update your npm install. To update npm, type this into your terminal: `npm install npm@latest -g`

To test the plugin, or to contribute to it, you can clone this repository and build the plugin files using Node. How you do that depends on whether you're developing locally or uploading the plugin to a remote host.

Expand Down

0 comments on commit 5dbac5a

Please sign in to comment.