|
|
@ -3,9 +3,7 @@ |
|
|
|
## Development |
|
|
|
## Development |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
```bash |
|
|
|
npm install --global grunt-cli |
|
|
|
|
|
|
|
npm install |
|
|
|
npm install |
|
|
|
grunt dev |
|
|
|
|
|
|
|
``` |
|
|
|
``` |
|
|
|
### Developing with Gulp |
|
|
|
### Developing with Gulp |
|
|
|
|
|
|
|
|
|
|
@ -36,10 +34,10 @@ You now have the plugin, and can click 'inspect views: background plugin' to vie |
|
|
|
|
|
|
|
|
|
|
|
### Developing the UI |
|
|
|
### Developing the UI |
|
|
|
|
|
|
|
|
|
|
|
To enjoy the live-reloading that `grunt dev` offers while working on the `metamask-ui` or `web3-provider-enigne` dependencies: |
|
|
|
To enjoy the live-reloading that `gulp dev` offers while working on the `metamask-ui` or `web3-provider-engine` dependencies: |
|
|
|
|
|
|
|
|
|
|
|
1. Clone the dependency locally. |
|
|
|
1. Clone the dependency locally. |
|
|
|
2. `npm install` in its folder. |
|
|
|
2. `npm install` in its folder. |
|
|
|
3. Run `npm link` in its folder. |
|
|
|
3. Run `npm link` in its folder. |
|
|
|
4. Run `npm link $DEP_NAME` in this project folder. |
|
|
|
4. Run `npm link $DEP_NAME` in this project folder. |
|
|
|
5. Next time you `grunt dev` it will watch the dependency for changes as well! |
|
|
|
5. Next time you `gulp dev` it will watch the dependency for changes as well! |
|
|
|