November 2018
Intermediate to advanced
528 pages
13h 21m
English
The first step is to ensure our environment is ready to work with. Certain dependencies will need to be pulled in using NPM, so it's important that this is installed and up to date. If you don't already have it installed, do so using the relevant instructions from https://www.npmjs.com/get-npm.
Once NPM is installed, run the following from the root directory of the project:
npm init
This will step through the fields that need to be set in our project's package.json file. An example file is shown here:
{ "name": "packtcoin", "version": "1.0.0", "description": "\"Packt Token Sale ICO\"", "main": "app.js", "directories": { "test": "test" }, "scripts": { "test": "test", }, "author": "<your_name>", "license": ...Read now
Unlock full access