Skip to content

Commit

Permalink
fix: Installation will now fail if your npm is not up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 committed Jun 29, 2016
1 parent d0e9165 commit 9cec25a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ cross-platform way. Initially, it will provide a streamlined experience for deve

## Installation from npm

First, make sure your `npm` is up to date:
First, make sure your `npm` is up to date.
You will need npm greater than version `3.0.0`:

npm install --global npm

Expand All @@ -31,7 +32,7 @@ Install `web-ext`:

You'll need:
* [Node.js](https://nodejs.org/en/), 0.12 or higher
* [npm](https://www.npmjs.com/), 3.x or higher
* [npm](https://www.npmjs.com/), 3.0.0 or higher

Optionally, you may like:
* [nvm](https://github.com/creationix/nvm), which helps manage node versions
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"version": "1.1.0",
"description": "A command line tool to help build, run, and test web extensions",
"main": "dist/web-ext.js",
"engines": {
"node": ">=0.12",
"npm": ">=3.0.0"
},
"engine-strict": true,
"bin": {
"web-ext": "bin/web-ext"
},
Expand Down

0 comments on commit 9cec25a

Please sign in to comment.