Skip to content

Commit c773783

Browse files
committed
Fix arrow emoji
1 parent 647f92c commit c773783

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tutorial/01-node-yarn-package-json/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@ Since it [came out](https://code.facebook.com/posts/1840075619545360) in October
4040
> 💡 **`package.json`** is the file used to describe and configure your JavaScript project. It contains general information (your project's name, version, contributors, license, etc), configuration for tools you use, and even a section to run tasks.
4141
4242
▶️ Create a new folder to work in, and `cd` in it.
43-
▶️ Run `yarn init` and answer the questions (`yarn init -y` to skip all questions), to generate a `package.json` file automatically.
43+
44+
▶️ Run `yarn init` and answer the questions (`yarn init -y` to skip all questions),
45+
to generate a `package.json` file automatically.
46+
4447
▶️ Create an `index.js` file containing `console.log('Hello world')`.
48+
4549
▶️ Run `node .` in this folder (`index.js` is the default file Node looks for in the current folder). It should print "Hello world".
4650

4751
Running `node .` to execute our program is a bit too low-level. We are going to use an NPM/Yarn script to trigger the execution of that code instead. That will give us a nice abstraction to be able to always use `yarn start`, even when our program gets more complicated.

0 commit comments

Comments
 (0)