okwolf / maven-frontend-example

Example Project with JSHint, Jasmine, Karma with Coverage, and LiveReload based on

Home Page:https://github.com/eirslett/frontend-maven-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is most useful if your Maven web project:

  • Has only static content
  • Is fed dynamic data from a separate API (REST, perhaps?)

Usage

Use mvn compile frontend:grunt to develop with auto JSHint, Jasmine, Karma with Coverage, and LiveReload.

After building this you can take the repo to any machine of the same platform (no Maven required!) and simply cd target/frontend && chmod +x grunt && ./grunt to do your development.

Use mvn jetty:run-war to test in a more "production" setting where the WAR is built and deployed.

Thanks

Major inspiration courtesy of: https://github.com/eirslett/frontend-maven-plugin/tree/master/frontend-maven-plugin/src/it/example%20project

License

MIT

About

Example Project with JSHint, Jasmine, Karma with Coverage, and LiveReload based on

https://github.com/eirslett/frontend-maven-plugin

License:MIT License


Languages

Language:JavaScript 82.6%Language:Batchfile 6.3%Language:HTML 5.6%Language:Shell 5.5%