Starting with package.json

As we explained in previous chapters, the packages.json file is the heart of the application. The steps to create the necessary file are as follows:

  1. Create a folder called chapter-03.
  2. Create a new file called package.json and save it in the chapter-03 folder with the following code:
     { "name": "chapter-03", "description": "Build a multimedia Application with Node.js", "license": "MIT", "author": { "name": "Fernando Monteiro", "url": "https://github.com/newaeonweb/node-6-blueprints" }, "repository": { "type": "git", "url": "https://github.com/newaeonweb/node-6-blueprints.git" }, "keywords": [ "MVC", "Express Application", "Expressjs", "Expressjs images upload", "Expressjs video upload" ], "version": "0.0.1", "private": true, ...

Get Node.js 6.x Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.