Skip to content

Starter for frontend app with Webpack 5,Angular 11, Karma, Jasmine

License

Notifications You must be signed in to change notification settings

neviljk/angular-webpack-starter

 
 

Repository files navigation

angular-webpack-starter

Starter for frontend app with Webpack 5, Angular 12, Karma, Jasmine

This configuration supports multiple projects which may have common parts, for example custom styles or controls. Each project will have it's own webpack configuration files and starting command.

  • npm run start-* is like ng serve -> it starts project in development mode with hot reload

  • npm run build-* builds project for higher development environments, and outputs them into dist. From there they need to be simply copied into, for example spring app target folder

  • npm run test runs unit tests in *.spec.ts files

The example applications are also dockerized for production, to run them

  1. Build both apps using npm run build-*
  2. Run docker-compose up

This project needs some polishing, but otherwise it is complete starter for small and big projects alike

About

Starter for frontend app with Webpack 5,Angular 11, Karma, Jasmine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.8%
  • TypeScript 32.2%
  • HTML 6.5%
  • SCSS 0.5%