
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
angular-coffee-haml-app
Advanced tools
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!
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!
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
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/
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.
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!
FAQs
Grunt scaffold for AngularJS with Coffee and HAML
We found that angular-coffee-haml-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.