Skip to content

Commit 5dbac5a

Browse files
committed
chore: Use npm 5.x everywhere
1 parent 88f761b commit 5dbac5a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cache:
1515

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

2020
matrix:
2121
include:

CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
## Installing & Building the Plugin
44

5-
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.
5+
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.
6+
7+
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`
68

79
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.
810

0 commit comments

Comments
 (0)