Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Commit

Permalink
Merge pull request #553 from kumar303/docs
Browse files Browse the repository at this point in the history
docs: Require npm version 3 or higher
  • Loading branch information
kumar303 authored Jul 13, 2016
2 parents bc03b54 + 52aba85 commit 31f3dda
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
29 changes: 18 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,27 @@ Replacing the previous python tool for developing Firefox Add-ons, [cfx](https:/

## Install

Installing from npm:
To install with npm, version 3.0.0 or higher is required.
Make sure you are up to date:

```
npm install jpm -g
```
npm install --global npm

Installing from GitHub to get latest features or working on jpm itself, use [npm link](https://www.npmjs.org/doc/cli/npm-link.html) to add the `jpm` global to your path:
Here's how to
[complete the npm upgrade](https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows)
on Windows.

```
git clone https://github.com/mozilla-jetpack/jpm.git
cd jpm
npm install
npm link
```
Install the jpm module:

npm install --global jpm


Install from GitHub to get the latest features or to work on jpm itself.
Use [npm link](https://www.npmjs.org/doc/cli/npm-link.html) to add the `jpm` global to your path:

git clone https://github.com/mozilla-jetpack/jpm.git
cd jpm
npm install
npm link

## Usage

Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"bin": {
"jpm": "./bin/jpm"
},
"engines": {
"node": ">=0.10",
"npm": ">=3.0.0"
},
"scripts": {
"addons": "node ./test/run.js addons",
"functional": "node ./test/run.js functional",
Expand Down

0 comments on commit 31f3dda

Please sign in to comment.