December 2016
Intermediate to advanced
841 pages
17h
English
We will quickly set up the project before we can start writing. We will use npm to manage our dependencies and gulp to build our project. These tools are built on NodeJS, so it should be installed from nodejs.org.
First of all, we must create a new directory in which we will place all files. We must create a package.json file used by npm:
{
"name": "weather-widget",
"version": "1.0.0",
"private": true,
"description": ""
}
The package.json file contains information about the project, such as the name, version, and a description. These fields are used by npm when you publish a project on the registry on NPM, which contains a lot of open source projects. We will not publish it there. We set the private field to true, so we cannot ...
Read now
Unlock full access