1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00

Add Initialize A New JavaScript Project With Yarn as a javascript til

This commit is contained in:
jbranchaud
2017-07-14 11:18:33 -05:00
parent afa8a18702
commit 3ffee31c13
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
# Initialize A New JavaScript Project With Yarn
Yarn, like NPM, has a basic command for initializing a new JavaScript
project.
```
$ yarn init
```
This will ask you a number of questions about your project like the name and
what kind of license you want to use. In the end, it just creates a
`package.json` file which can be used with `yarn` or `npm`.