


The goal is to learn how we can create a CD pipeline to deploy a serverless application. The goal of this article is not to show you how to build or test a serverless application, so the sample application will be extremely easy and the tests might not make sense.

In this article I’ll show you how to create a simple continuous delivery pipeline that brings us closer to a professional application development. You must have a CI/CD pipeline set up, you probably have two accounts (one for production and another one for development), you need a repeatable and reliable way to create your infrastructure and so on. You can even write a function in the browser! But that’s not how you should work on a daily basis. We hope you enjoy it! If you have questions about the content, you can reach out to Vicenç García-Altés here. It originally appeared on his blog, and has been re-published here with his permission. To add an entry to the "dependencies" attribute of a package.This is a guest post written by Vicenç García-Altés. To add dependencies and devDependencies to a package.json file from the command line, you can install them in the root directory of your package using the -save-prod flag for dependencies (the default behavior of npm install) or the -save-dev flag for devDependencies. Adding dependencies to a package.json file from the command line You can add dependencies to a package.json file from the command line or by manually editing the package.json file. "devDependencies": Packages that are only needed for local development and testing.Īdding dependencies to a package.json file."dependencies": Packages required by your application in production.To see which versions of a package will be installed, use the semver calculator. When you (or another user) run npm install, npm will download dependencies and devDependencies that are listed in package.json that meet the semantic version requirements listed for each. List them as "dependencies" or "devDependencies" in your package's package.json file. To specify the packages your project depends on, you must Adding dependencies to a package.json file from the command line.Adding dependencies to a package.json file.
