mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Update local build instructions
This commit is contained in:
parent
d8d0648e57
commit
4cbf41d319
17
README.md
17
README.md
@ -26,14 +26,15 @@ If you're a web dapp developer, we've got two types of guides for you:
|
||||
|
||||
## Building locally
|
||||
|
||||
- Install [Node.js](https://nodejs.org/en/) version 8.11.3 and npm version 6.1.0
|
||||
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.
|
||||
- Select npm 6.1.0: ```npm install -g npm@6.1.0```
|
||||
- Install dependencies: ```npm install```
|
||||
- Install gulp globally with `npm install -g gulp-cli`.
|
||||
- Build the project to the `./dist/` folder with `gulp build`.
|
||||
- Optionally, to rebuild on file changes, run `gulp dev`.
|
||||
- To package .zip files for distribution, run `gulp zip`, or run the full build & zip with `gulp dist`.
|
||||
- Install [Node.js](https://nodejs.org) version 8 and the latest available npm@6
|
||||
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.
|
||||
- If you install Node.js manually, ensure you're using npm@6
|
||||
- Install npm@6 using `npm install -g npm@6`
|
||||
- Install dependencies: `npm install`
|
||||
- Install gulp globally with `npm install -g gulp-cli`.
|
||||
- Build the project to the `./dist/` folder with `gulp build`.
|
||||
- Optionally, to rebuild on file changes, run `gulp dev`.
|
||||
- To package .zip files for distribution, run `gulp zip`, or run the full build & zip with `gulp dist`.
|
||||
|
||||
Uncompressed builds can be found in `/dist`, compressed builds can be found in `/builds` once they're built.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user