Skip to content

jbolila/angular-requirejs-lazy-seed

Repository files navigation

angular-requirejs-lazy-seed

AngularJS Lazy load project seed, with minimal Karma.

Start dev session

If Gulp! or Bower aren't installed:

npm install bower -g
npm install gulp -g

If is a fresh clone of this project:

bower install
npm install

From here and for future sessions:

gulp

(this is one man show, start the server a watch for file changes, to reload at needs to be reloaded)

Other options for our gulp

To generate the CSS file:

gulp less

To lint all the Javascript (app/js) files:

gulp lint

For more details have a look at gulpfile.js.

Run Karma tests

If is your first time:

npm install karma -g
npm install karma-requirejs -g
npm install karma-jasmine -g
npm install karma-phantomjs-launcher -g
npm install karma-firefox-launcher -g

To run test tests and watch changes:

karma start

(the example of karma-runner/gulp-karma isn't working properly and isn't a problem!)

TODO:

  • Test runner (with Karma) gulp test
  • Build to dist folder (using r.js "on references") gulp build

References

About

AngularJS Lazy load project seed, with good Karma

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published