Package.json file in Protractor
Package.json provides a simple way for people to keep track of packages they use in their application. This file is used to give information to npm that allows it to identify the project as well as handle the project's dependencies. It can also contain other metadata such as a project description, the version of the project in a particular distribution, license information, even configuration data - all of which can be vital to both npm and to the end users of the package. The package.json file is normally located at the root directory of a Node.js project. Prerequisite to create package.json : node js should be installed and setup should be done. 1. Create Project folder as "Framework" in drive. 2. Open a command prompt cmd and navigate to project folder like below C:\WINDOWS\system32> CD "pathOfProjectFolder" Example : CD C:\Users\Framework 3. Execute the "npm init" command. It will ask you a bunch of questions, and then write a ...