Open sergiopantoja opened 10 years ago
Here is also a good introduction:
"Grunt for People Who Think Things Like Grunt are Weird and Hard" http://24ways.org/2013/grunt-is-not-weird-and-hard/
See Issue #28 before doing this.
:+1:
Also nowadays two common alternatives are Gulp and just using npm (<-- very opinionated article). Everyone has their own preference.
No need to feel locked in to any choice. It's pretty easy to switch from grunt to gulp or from gulp to just npm, and vice versa.
@sergiopantoja Sergio! I personally recommended to @albertomizrahi that Gulp seems a lot cleaner than Grunt when creating a task runner, but to each his own. The only apparent benefit with Grunt right now is that a lot of predefined task runners/plugins have been already made by the community, not to mention that Grunt is tightly integrated into the whole Yeoman workflow (I hope Gulp gains some traction on this).
Hello :smiley: Yeah all very true!
This is lower priority, but it should be done at some point. Grunt and Javascript is similar to Make and C, or to Gradle and Java. It's a "task runner" that's used to test, build, and deploy Javascript applications.
For this, I highly recommend running Linux or a VM with Linux because Grunt uses Node.js and npm: http://gruntjs.com/
If I have the time, I'll try setting up the
package.json
andGruntfile.js
files for us because sometimes it's easier to learn by seeing how its done first.