November 2017
Intermediate to advanced
388 pages
8h 46m
English
We can initiate the project by hitting yarn init:
[root@awsstar ~]# mkdir example-node-server[root@awsstar ~]# cd example-node-server[root@awsstar ~]# yarn init yarn init v0.27.5question name (example-node-server): example-node-serverquestion version (1.0.0): question description: sample nodejs webappquestion entry point (index.js): lib/index.jsquestion repository url: question author: Nikit Swarajquestion license (MIT): MITsuccess Saved package.jsonDone in 53.06s.
In the preceding output of execution of the yarn init command, we get some parameter where we have to fill some input from our end. After initiating the project, we will get a file called package.json.
package.json is a file where we can fill the dependency's name ...
Read now
Unlock full access