You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,14 @@
3
3
## Quickstart
4
4
5
5
```sh
6
-
# Installs all dependencies
7
-
yarn install
6
+
# Installs all dependenciesG
7
+
npm install
8
8
9
9
# Starts the first exercise
10
-
yarn exercise 01
10
+
npm run exercise 01
11
11
12
12
# Runs linting and tests on the solution
13
-
yarn solution 01
13
+
npm run solution 01
14
14
```
15
15
16
16
## Video Walkthrough
@@ -24,7 +24,7 @@ You'll notice that the course is split into exercises. Each exercise is split in
24
24
To take an exercise:
25
25
26
26
1. Go into `*.problem.ts`
27
-
2. Run `yarn exercise 01`, where `01` is the number of the exercise you're on.
27
+
2. Run `npm run exercise 01`, where `01` is the number of the exercise you're on.
28
28
29
29
The `exercise` script will run TypeScript typechecks and a test suite on the exercise.
30
30
@@ -38,22 +38,22 @@ You'll know if you've succeeded because the tests will pass.
38
38
39
39
**If you succeed**, or **if you get stuck**, unpause the video and check out the `*.solution.ts`. You can see if your solution is better or worse than mine!
40
40
41
-
You can run `yarn solution 01` to run the tests and typechecking on the solution.
41
+
You can run `npm run solution 01` to run the tests and typechecking on the solution.
42
42
43
43
## Acknowledgements
44
44
45
45
Say thanks to Matt on [Twitter](https://twitter.com/mattpocockuk) or by joining his [Discord](https://discord.gg/8S5ujhfTB3). Consider signing up to his [Total TypeScript course](https://totaltypescript.com).
46
46
47
47
## Reference
48
48
49
-
### `yarn exercise 01`
49
+
### `npm run exercise 01`
50
50
51
-
Alias: `yarn e 01`
51
+
Alias: `npm run e 01`
52
52
53
53
Run the corresponding `*.problem.ts` file.
54
54
55
-
### `yarn solution 01`
55
+
### `npm run solution 01`
56
56
57
-
Alias: `yarn s 01`
57
+
Alias: `npm run s 01`
58
58
59
59
Run the corresponding `*.solution.ts` file. If there are multiple, it runs only the first one.
0 commit comments