Since we know how a TypeScript application works, we can start with the basic configurations in place. To start our application development, let's create a folder called order-api and create a file called package.json inside it with the following information:
{ "name": "order-api", "version": "1.0.0", "description": "This is the example from the Book Hands on RESTful Web Services with TypeScript 3", "main": "./dist/server.js", "scripts": { "build": "npm run clean && tsc", "clean": "rimraf dist && rimraf reports", "lint": "tslint ./src/**/*.ts ./test/**/*.spec.ts", "lint:fix": "tslint --fix ./src/**/*.ts ./test/**/*.spec.ts -t verbose", "pretest": "cross-env NODE_ENV=test npm run build && npm run lint", ...