Very basic project that follows most of instructions found in WEBPACK: AN INTRODUCTION
with a small change in the karma reporters (mocha instead of kjhtml), and some configuration found in angular2-webpack-starter as of dependencies and, typeRoots for ts configuration.
To install all the dependencies run:
npm i
To execute tests run:
npm run test:headless
To serve devmode run:
npm start
To build prod run:
npm run build