Yeoman generator for building Single Page Apps with AngularJS, ES6, Webpack.
This project is no longer maintained. Please use Clea CLI instead, which is way more complete.
What's included in details over here
$ npm install -g yo
$ npm install generator-webpack-angular
$ mkdir my-new-project && cd my-new-project
$ yo webpack-angular
npm start
to launchnpm run server
andjson-server
(if checked) in parallelnpm run serve
to launch a webpack-dev-server server on your source filesnpm run serve:prod
to launch a webpack-dev-server server on your source files in a production environmentnpm run build
to build an optimized version of your application in /dist + docs generationnpm run build:prod
to build an optimized version of your application in /dist in a production environment + docs generationnpm run test
to launch your unit tests with Karmanpm run lint
to launch linting processnpm run sonar:reporters
to create the linters reporters for SonarQube plugin (Only if it was chosen)npm run json-server
to start a json-server (Only if it was chosen)
- How to call REST APIs ? ($resource, Restangular)
- Handle environments
- angular-translate support
- UI Router as default router
- CSS preprocessors (CSS, Sass, Less)
- Angular modules choice (angular-animate, angular-touch, ...)
- UI Frameworks choice (angular-material, bootstrap)
- Linters (ESLint, HTMLHint, SASSLint, CSSLint)
- PostCSS integration
- Mock server REST API with json-server
- Sonar reporters
- Ask user for application name
- Unit tests with Karma and Mocha
- Code coverage
- Landing page post generation
- Dgeni to generate documentation
MIT License
Copyright (c) 2016 Groupe SII