generator-angler
v0.0.7
Published
A Yeoman generator for modular Angular powered by Gulp and Browserify.
Downloads
2
Maintainers
Readme
Angler generator
Yeoman generator that scaffolds out a front-end web app using angularjs, gulp and browserify
Notes
This project is a fork of Angulpify suited to meet my everyday needs. As a result it's more opinionated than Angulpify and I've removed some options and functionality. I've updated a lot of packages and have included Karma, Jasmine, and swapped out live-reload for browser-sync.
Todo
- Add generators for Angular modules, controllers, services, etc.
- Make Karma and the testing stack optional.
- Figure out how to get Browsersync work correctly with Jade.
- Update Watchify and rewrite it appropriately.
- Clean up stuff I missed when removing previous functionality.
Features
- Require() everywhere to build a modular application
- Built-in preview server with Browsersync for CSS/SASS
- Automagically lint your scripts
- Automagically compile Sass/Less (you can still use CSS too!)
- CSS Autoprefixing
- Automagically compile your Jade (or HTML if you want!) templates into $templateCache
- Awesome image optimization
- Wire-up Bower dependencies easily with browserify-shim
- Bundle your application for two environments (build/release)
For more information on what this generator can do for you, take a look at the gulp plugins.
Tooling
This generator relies on several technologies, make sure your system has:
Getting Started
- Install:
npm install -g generator-angler
- Run:
yo angler
- Run:
gulp
for building to thebuild
directorygulp --release
for building to therelease
directory
- Go to http://localhost:3000
- Enjoy!
Third-Party Dependencies
(HTML/CSS/JS/Images/etc)
To install dependencies, run bower install --save package-name
to get the files, then add an entry into the browser key of your package.json
.
Options
--skip-install
Skips the automatic execution ofbower
andnpm
after scaffolding has finished.
Special Thanks
This generator is a fork of generator-angulpify. Thanks to Julien Goux!