saloni-jain484 / SocialMedia_WebApplication

Web application using Node Js .
1 stars 0 forks source link

npm commands to execute scrips #3

Closed saloni-jain484 closed 4 years ago

saloni-jain484 commented 4 years ago

Perform the below mentioned steps by creating package.json file named npm_commands in the maxbot directory

Write a js code in index.js file to create a string named myVar and value as node package manager and convert it into uppercase. NOTE: Please use console.log to display the output of myVar in index.js file

Configure scripts in package.json (a) to check the versions of npm and node by using npm run release | tee output1.txt (b) to execute index.js by using npm run build | tee output.txt

saloni-jain484 commented 4 years ago

Configure the script tag under packge.json and file name npm_commands