Skip to content

Commit 1a05280

Browse files
committed
changed package manager
1 parent b751612 commit 1a05280

File tree

5 files changed

+3695
-5828
lines changed

5 files changed

+3695
-5828
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
## Setup
22

33
This build uses node version 18.15.0 and npm version.
4-
Install nvm and run the following commands:
4+
[Install nvm](https://github.com/nvm-sh/nvm#installing-and-updating) and run the following commands:
55

66
```
77
nvm install 18.15
88
nvm use 18
9+
npm install -g yarn
910
```
1011

1112
To start the development server, run the following commands:
1213

1314
```
14-
npm install
15-
npm start
15+
yarn
16+
yarn start
1617
```
1718

1819
You should see something similar to this in the terminal:
@@ -46,7 +47,7 @@ To automatically format a document when saving it, search for "format on save" i
4647
You can also format a document via the command line. To format all JavaScript documents in the repo, use:
4748

4849
```
49-
npm run format
50+
yarn run format
5051
```
5152

5253
To format a specific document, use
@@ -62,8 +63,8 @@ For more options with the command line, refer to the [Prettier Documentation](ht
6263
To build the ml5 library for production, run the following commands
6364

6465
```
65-
npm install
66-
npm run build
66+
yarn
67+
yarn run build
6768
```
6869

6970
This will create a production version of the library in `/dist` directory.

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@ Welcome to the next-generation repo for the ml5.js project! Due to the complexit
55
## Setup
66

77
This build uses node version 18.15.0 and npm version.
8-
Install nvm and run the following commands:
8+
[Install nvm](https://github.com/nvm-sh/nvm#installing-and-updating) and run the following commands:
99

1010
```
1111
nvm install 18.15
1212
nvm use 18
13+
npm install -g yarn
1314
```
1415

1516
To start the development server, run the following commands:
1617

1718
```
18-
npm install
19-
npm start
19+
yarn
20+
yarn start
2021
```
2122

2223
You should see something similar to this in the terminal:

0 commit comments

Comments
 (0)