![Gitter](https://badges.gitter.im/Join Chat.svg)
Angular + Webpack build with Karma tests support
git clone git@github.com:packetloop/angular-webpack.git
cd angular-webpack
npm install
npm start
Then
open http://localhost:8080
To run tests
npm test
Coverage
open ./coverage/index.html
- Build basic Angular app with webpack
- Couple of dependent modules
Hello
andBlah
- Controller, directive and service for Hello module
- Tests for
HelloService
, mockingHelloHelloService
andBlahService
- Tests for
<hello>
directive mockingHelloService
- Tests for
HelloController
mockingHelloService
-
npm test
script 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