Skip to content

Commit a9f9169

Browse files
committed
Replace yarn with npm in docs
1 parent 249794b commit a9f9169

File tree

2 files changed

+11
-18
lines changed

2 files changed

+11
-18
lines changed

README.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Bootstrap a new JavaScript module in five minutes or less.
7070
then publish the initial version of the package with
7171
```
7272
$ nvm install
73-
$ yarn install
73+
$ npm install
7474
$ npm version patch
7575
```
7676

@@ -108,14 +108,7 @@ Add this as a dependency to your project using [npm] with
108108
$ npm install @makenew/jsmodule
109109
```
110110

111-
or using [Yarn] with
112-
113-
```
114-
$ yarn add @makenew/jsmodule
115-
```
116-
117111
[npm]: https://www.npmjs.com/
118-
[Yarn]: https://yarnpkg.com/
119112

120113
## Development and Testing
121114

@@ -125,21 +118,21 @@ $ yarn add @makenew/jsmodule
125118
$ git clone https://github.com/makenew/jsmodule.git
126119
$ cd jsmodule
127120
$ nvm install
128-
$ yarn install
121+
$ npm install
129122
```
130123

131124
Run the command below in a separate terminal window:
132125

133126
```
134-
$ yarn run test:watch
127+
$ npm run test:watch
135128
```
136129

137130
Primary development tasks are defined under `scripts` in `package.json`
138-
and available via `yarn run`.
131+
and available via `npm run`.
139132
View them with
140133

141134
```
142-
$ yarn run
135+
$ npm run
143136
```
144137

145138
### Source code
@@ -155,7 +148,7 @@ $ git clone [email protected]:makenew/jsmodule.git
155148

156149
### Requirements
157150

158-
You will need [Node.js] with [npm], [Yarn], and a [Node.js debugging] client.
151+
You will need [Node.js] with [npm] and a [Node.js debugging] client.
159152

160153
Be sure that all commands run under the correct Node version, e.g.,
161154
if using [nvm], install the correct version with
@@ -173,7 +166,7 @@ $ nvm use
173166
Install the development dependencies with
174167

175168
```
176-
$ yarn install
169+
$ npm install
177170
```
178171

179172
[Node.js]: https://nodejs.org/

examples/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,27 @@ Override any option with the corresponding environment variable:
2727
List all runnable examples with
2828

2929
```
30-
$ yarn run example
30+
$ npm run example
3131
```
3232

3333
Run provided examples with, e.g.,
3434

3535
```
36-
$ yarn run example todo
36+
$ npm run example todo
3737
```
3838

3939
Pass arguments to examples with
4040

4141
```
42-
$ yarn run example todo false
42+
$ npm run example todo false
4343
```
4444

4545
#### Debugging examples
4646

4747
Debug examples with, e.g.,
4848

4949
```
50-
$ yarn run example:inspect todo
50+
$ npm run example:inspect todo
5151
```
5252

5353
For examples which run a single process and then exit,

0 commit comments

Comments
 (0)