mandag 27. januar 2014

Time to kick back and grunt a little

I've just installed Nodejs, and then Grunt through npm. Even though I don't spend much time hacking around, Grunts LiveReload sounds like a great way to not have to hit that bothersome F5-button.

After installing I had to create a package.json file, which states the dependencies, and to which new dependencies will be added automatically when I do npm install <module> --save-dev.

These new modules got installed in the project folder, so I had to alter .gitignore to avoid adding lots of modules to the Git repo.

So far I've tried grunt-contrib-jshint, grunt-contrib-concat and grunt-contrib-uglify. I'm also thinking of testing Sass (Ruby based) or LESS (Nodejs based) for CSS. A List Apart recently had a very nice, calming article on Sass. Perhaps I'll even have a little dabble in Requirejs.

Then I'd like to rewrite some of my projects into angularJS (which has it's own Bootstrap implementation), Ember.js or Backbone.js (and by extension Underscore.js)

So much to do. So little time. But for today: Grunt. And what a soothing, snorted grunt it was.

Etiketter: ,

0 Kommentarer:

Legg inn en kommentar

Abonner på Legg inn kommentarer [Atom]

<< Startsiden