npm helps you create a package.json file

npm init

Semantic versioning (SemVer)

// major/minor/pack
 "browser-sync": "2.7.12"
{
"name": "Base_Template",
  "version": "0.1.0",
    "devDependencies": {
      // instructs npm to install the latest minor release
      // e.g 2.8, 2.9 but not 3.0.0
      "browser-sync": "^2.7.12",
      // instructs npm to install the latest pack release
      // e.g 3.8.1, 3.8.2 but not 3.9.0
      "gulp": "~3.8.0",
    }
}

For more information on package updates, and changing the package.json file please see the npm commands page

Worthy of Note

Worthy of Note is a site aimed at Web Designers & Developers. It offers a wide range of resources to help assist anyone in the web industry.

View