
Angular + Webpack build with Karma tests support
git clone git@github.com:packetloop/angular-webpack.git
cd angular-webpack
npm install
npm startThen
open http://localhost:8080To run tests
npm testCoverage
open ./coverage/index.html- Build basic Angular app with webpack
- Couple of dependent modules
HelloandBlah - Controller, directive and service for Hello module
- Tests for
HelloService, mockingHelloHelloServiceandBlahService - Tests for
<hello>directive mockingHelloService - Tests for
HelloControllermockingHelloService -
npm testscript with CI-friendly karma + webpack run - Separate HTML template for
<hello>+ webpack build - Separate CSS for
<hello>+ webpack build - Embed images
- Coverage report with full ES6 support
- Multiple pages to load additional components asynchronously
- ESLint
npm run lint - ESLint loader for compile-time validation
- FIX dynamic Angular modules loading (fixed in #2)
- Allow to use HAML templates
- BabelJS and full ES6/7 support
- Running tests in PhantomJS