npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

angular-coffee-haml-app

v0.0.0

Published

Grunt scaffold for AngularJS with Coffee and HAML

Downloads

3

Readme

Angular App Scaffold with CoffeeScript and HAML

A grunt-init scaffold for Angular Applications with CoffeeScript and HAML.

Currently, linking is manual. I plan to provide a Bower/JamJS wrapper within the grunt tooling that will automatically keep the linker up-to-date!

Currently, no doc-gen provided out-of-the-box. Coffeedoc coming soon!

Currently, no e2e testing provided out-of-the-box. Protractor coming soon!

Currently, no directive testing provided out-of-the-box. Coming soon!

Currently, no compile-time coffeescript linking. Coming Soon!

Why use this scaffold?

If you are like me, you like to have a complete understanding of, as well as complete control over, your build processes. Other alternatives, like yeoman, provide a very generic and, in my opinion, bloated solution to managing and building angular applications. This scaffold is intended to be a highly modular, yet minimalistic, build scaffold that allows angular developers to fully control every facet of the build process using traditional methods like post-compile linking.

This scaffold is currently NON-AMD solution, meaning that all files are compiled into a single distributable. I plan to add dynamic linking (AMD) configuration during compile time in the very near future!

Installing

This scaffold requires grunt-init and bower to be installed!

Be sure to follow the instructions here: http://gruntjs.com/project-scaffolding

To use it, clone the project to your ~/.grunt-init folder:

$ git clone https://github.com/thebigredgeek/grunt-init-angular-coffee-haml-app.git angular-coffee-haml-app

Then, to create a project, within your project directory:

$ grunt-init angular-coffee-haml-app

Finally, install dependencies:

$ npm install
$ bower install

Overview

This scaffolds configures a bare-bones module with a single mock service, as well as basic unit test for said service.

It also provides code coverage and maintainability analytics out of the box with Karma Coverage and Plato, as well as JSDocs documentation.

To view coverage report: http://127.0.0.1:8080/coverage/

To view complexity report: http://127.0.0.1:8080/complexity/

To view your app: http://127.0.0.1:8080/

Linker

The scaffold provides compile-time linking functionality for JS and CSS packages. To configure linking for external CSS and JS packages, edit the linker/css.json and linker/js.json files, respectively.

During compile time, these files are added to the build product PRIOR to the application source code. This is handy for compile external dependencies into your project that are guaranteed to be available within your source code.

Tooling

The scaffold provides the following grunt methods:

grunt - deploys the development environment with live reload. This environment rebuilds on code changes.

grunt build - performs a build

grunt dist - performs a build, bumps the version (hotfix), and pushes to your repo!