We use package.json to manage dependencies and execution of node project.
Protractor is also a node package so we can use it for better project management.
Step 1:
Create the blank package.json file using the following commands command should be executed within the project structure.
npm init -y
{
"name": "Protractor",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
Step 2:
Now we can add the following dependencies for Protractor.
"dependencies": {
"protractor": "5.4.2",
"jasmine": "3.4.0",
"protractor-jasmine2-html-reporter": "0.0.7",
"log4js": "5.1.0",
"log4js-protractor-appender": "1.1.2"
},
Step 3:
Execute the following command from project directory to download the all dependencies for this project.
npm install
Step 4:
We can see the node_modules folder automatically created after successful completion of the above command.
Hard Rock Casino Lake Tahoe - MapyRO
ReplyDeleteHard Rock Casino Lake Tahoe 통영 출장샵 in Stateline, 이천 출장안마 NV. 동두천 출장마사지 Find reviews, 충청북도 출장안마 hours, directions, coupons and more for Hard Rock Casino 경상남도 출장안마 Lake Tahoe in Stateline,