:star2: Angular Webpack Starter with AoT compilation, Lazy-loading, Tree-shaking, and Hot Module Reload (Updated to 4.1.0!)
Angular Webpack Starter is a comprehensive starter kit for developing Angular applications. It is built upon Angular Starter and offers an extensible and customizable workflow for serving, linting, unit testing, e2e testing, and bundling. It also supports the use of dotenv environment variables, ensuring a seamless development experience. This starter kit prides itself on its high code coverage and CI/CD pipeline readiness, allowing developers to build high-quality Angular applications with ease.
To install Angular Webpack Starter, follow these steps:
To start the development server, run the following command:
npm start
Open a browser and navigate to http://localhost:8080 to start developing Angular applications. Any changes made to the files will automatically refresh the browser and compile the TypeScript files to JavaScript.
If any errors occur during startup, retry running the command:
npm run build:dll
To run unit tests, use the following command:
npm test
This command will compile all TypeScript files, start Karma (test runner), and remap Istanbul coverage to display TypeScript coverage instead of transpiled JavaScript coverage.
For E2E testing, start the server by running:
npm run server
To begin testing, run:
npm run e2e
For production builds, use the following commands:
npm run build
or
npm run build:serve
For detailed instructions on Continuous Integration, refer to the wiki page.
Angular Webpack Starter is a comprehensive starter kit for developing Angular applications. It offers an extensive set of features and a complete workflow for development, testing, and deployment. With support for dotenv environment variables, high code coverage, and a ready-to-use CI/CD pipeline, this starter kit provides developers with a solid foundation for building high-quality Angular applications. Additionally, the kit is easily customizable and extensible through community-built extensions.