1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

"yarn setup" - the new way to install your deps (#10379)

* deps - run "yarn setup" to install deps

* doc - add "yarn setup" to local dev instructions
This commit is contained in:
kumavis 2021-02-05 23:41:45 +08:00 committed by GitHub
parent 418662c365
commit 6a6b27a04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@ To learn how to contribute to the MetaMask project itself, visit our [Internal D
- Install [Node.js](https://nodejs.org) version 14
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.
- Install [Yarn](https://yarnpkg.com/en/docs/install)
- Install dependencies: `yarn`
- Install dependencies: `yarn setup` (not the usual install command)
- Copy the `.metamaskrc.dist` file to `.metamaskrc`
- Replace the `INFURA_PROJECT_ID` value with your own personal [Infura Project ID](https://infura.io/docs).
- If debugging MetaMetrics, you'll need to add a value for `SEGMENT_WRITE_KEY` [Segment write key](https://segment.com/docs/connections/find-writekey/).

View File

@ -3,6 +3,7 @@
"version": "0.0.0",
"private": true,
"scripts": {
"setup": "yarn install && yarn allow-scripts",
"start": "yarn build dev",
"dist": "yarn build prod",
"build": "node development/build/index.js",