Component based Angular(1.x) web development with Webpack and ES6.
A starter project using Angular 1.x with Webpack. A Webpack + ES6 re-implementation of the generator-aio-angular project.
Still wanna use Gulp + ES5? Check the generator-aio-angular project.
Pure front-end implementation, all API interaction are mocked using angular-mocks.
Check out the demo site.
The dome site is a pure front-end implementation, so you can use any email/password to login, see mock file for detail. It is hosted on Github pages, no back-end support, so we use
#
style URL.
animate.css
can be used directly as keyframe animation. (see animation.styl)git clone https://github.com/PinkyJie/angular1-webpack-starter.git
cd angular1-webpack-starter
npm install
npm start
Then open your browser with URL http://localhost:8080/webpack-dev-server/
.
npm test
npm run test:watch
npm run e2e
npm run webdriver-update
firstCheck the Unit test coverage report.
npm run build
The optimized files will be generated in build
folder.
Proudly use Travis to do Continuous Integration.
Every push will trigger a build on Travis, it will automatically:
Check .travis.yml and publish-to-gh-pages.sh for detail implementation.
Check Travis build log for build results.
http://pinkyjie.com/tags/angular1-webpack-starter/
MIT