(but it is available on heroku: https://andreasklein-org.herokuapp.com/)
.. My personal space for article, notes & ideas on the web. Written in pure Javascript powered by Node.js, Grunt.js & Express
- node.js (>= v0.10.x)
- git (>= 1.7.x)
1) default
Default Task used for dev workflow. Runs $ grunt dev
Task.
2) dev
Development Workflow
jshint
Javascript Code-lintingless
Compiles LESS filesautoprefixer
Completes CSS vendor prefixes automatically.concat
Concatenating Javascript files into one single file.connect
Starts Node.js Webserver.open
Opens the dev environment in Google Chromewatch
Watches your working dir and live-reloads the browser window after making changes
3) prod
Runs a distribution build.
- Includes all
dev
tasks, expectconnect
&watch
tasks uglify
Javascript minifcation + bannercssmin
CSS minification + banner
4) bump
Bump package version, create tag, commit, push...
Uses grunt-bump task.
$ grunt bump:patch
// 0.0.1 to 0.0.2$ grunt bump:minor
// 0.1.0 to 0.2.0$ grunt bump:major
// 0.x to 1.0.0$ grunt bump:build
// 1.0.0 to 1.0.0-1
© 2015 Andreas Klein