Sample source code based on blog post: How to setup testing using Typescript, Mocha, Chai, Sinon, Karma and Webpack
- Install NodeJS
- Open the command line of your choice and cd to the root directory of this repo on your machine
npm install webpack -g
- Installs webpack- Download this repo (clone / fork)
npm install
- Installs packages (post install step added to package.json configuration file in order to execute tsd install after installing packages)npm test
- Will execute karma start and run the tests (this step has been added to the package.json configuration file).
- Mar 17, 2015 - Added post install step to automatically run typings install after npm install.