July 2018
Intermediate to advanced
420 pages
8h 46m
English
The package.json file is very common in web applications that use Node.js modules. It is often found in frontend applications nowadays, in addition to server-side applications with Node.js. With the Angular framework, it is not different; this is one of the great advantages of the new version of Angular, since we can only import modules that are extremely necessary for the application, reducing the size and build time. Let's look at the contents of the package.json file. We added some comments before each important section:
{"name": "chapter03","version": "0.0.0","license": "MIT",// Npm commands, based on Angular/Cli commands, including: test and build."scripts": {"ng": "ng","start": "ng serve","build": "ng build --prod", ...Read now
Unlock full access