O'Reilly logo

Hands-On Full Stack Web Development with Aurelia by Erikson Haziz Murrugarra Sifuentes, Diego Jose Arguelles Rojas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing karma

We will use the NPM to install Karma and other dependencies. Let's start creating a practice folder called practice-karma and initializing our project. Run the following command:

$ mkdir practice-karma$ cd practice-karma$ npm init

We use npm init to create a new module; this will prompt you a bunch of questions and will create a package.json file similar to this:

{  "name": "practice-karma",  "version": "1.0.0",  "description": "",  "main": "index.js",  "scripts": {    "test": "echo \"Error: no test specified\" && exit 1"  },  "keywords": [],  "author": "",  "license": "ISC"}

Up to now, you should have the following folder structure:

practice-karma/└── package.json

Now it's time to install Karma and the dependencies that we require to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required