Skip to content

Commit 0811717

Browse files
authored
Merge pull request #159 from makebrainwaves/dano/npm-yarn
Switched npm refs to yarn
2 parents 280731f + 4ab8b95 commit 0811717

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ following command on Windows_
5555

5656
## Installing from Source (for developers)
5757

58-
- Make sure you have node version >= 7, npm version >= 4 and have followed the [Environment Setup](https://github.com/makebrainwaves/BrainWaves#environment-setup) instructions
58+
- Make sure you have node version >= 7, yarn, and have followed the [Environment Setup](https://github.com/makebrainwaves/BrainWaves#environment-setup) instructions
5959

6060
### OS X
6161

@@ -85,7 +85,7 @@ git clone https://github.com/makebrainwaves/BrainWaves.git
8585

8686
```bash
8787
$ cd BrainWaves
88-
$ npm install
88+
$ yarn install
8989
```
9090

9191
3. If using Emotiv, insert your Emotiv account's credentials into the file
@@ -98,24 +98,24 @@ Start the app in the `dev` environment. This starts the renderer process in
9898
starts a webpack dev server that sends hot updates to the renderer process:
9999

100100
```bash
101-
$ npm run dev
101+
$ yarn dev
102102
```
103103

104104
Alternatively, you can run the renderer and main processes separately. This way,
105105
you can restart one process without waiting for the other. Run these two
106106
commands **simultaneously** in different console tabs:
107107

108108
```bash
109-
$ npm run start-renderer-dev
110-
$ npm run start-main-dev
109+
$ yarn start-renderer-dev
110+
$ yarn start-main-dev
111111
```
112112

113113
## Packaging
114114

115115
To package apps for the local platform:
116116

117117
```bash
118-
$ npm run package
118+
$ yarn package
119119
```
120120

121121
To package apps for all platforms:
@@ -127,27 +127,27 @@ dependencies.
127127
Then,
128128

129129
```bash
130-
$ npm run package-all
130+
$ yarn package-all
131131
```
132132

133133
To package apps with options:
134134

135135
```bash
136-
$ npm run package -- --[option]
136+
$ yarn package -- --[option]
137137
```
138138

139139
To run End-to-End Test
140140

141141
```bash
142-
$ npm run build
143-
$ npm run test-e2e
142+
$ yarn build
143+
$ yarn test-e2e
144144
```
145145

146146
:bulb: You can debug your production build with devtools by simply setting the
147147
`DEBUG_PROD` env variable:
148148

149149
```bash
150-
DEBUG_PROD=true npm run package
150+
DEBUG_PROD=true yarn package
151151
```
152152

153153
## Contributing

0 commit comments

Comments
 (0)