{"id":298,"date":"2013-05-01T15:38:39","date_gmt":"2013-05-01T15:38:39","guid":{"rendered":"http:\/\/www.webninjataylor.com\/library\/?p=298"},"modified":"2014-06-24T21:25:22","modified_gmt":"2014-06-24T21:25:22","slug":"grunt","status":"publish","type":"post","link":"https:\/\/webninjataylor.com\/library\/grunt\/","title":{"rendered":"Grunt"},"content":{"rendered":"<ul>\n<li>Install the Grunt command line tool (requires node.js installed on your machine)&#8230;\n<pre>sudo npm install grunt-cli -g<\/pre>\n<\/li>\n<li>Create package.json in root of project (list of Grunt plugin dependencies)<\/li>\n<li><span class=\"code\">npm install<\/span> (install the dependencies)<\/li>\n<li>Create Gruntfile.js in root of project (configuration)\n<ul>\n<li>Basically, you need three different functions to work with Grunt:\u00a0<code>grunt.initConfig<\/code>,\u00a0<code>grunt.loadNpmTasks<\/code>,\u00a0and\u00a0<code>grunt.registerTask<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Resources<\/h2>\n<ul>\n<li><a href=\"http:\/\/frederic-hemberger.de\/artikel\/grunt-buildtool-for-frontend-projects\/?utm_source=javascriptweekly&amp;utm_medium=email\">Grunt: A Build Tool for Front-end Projects, Frederic Hemberger (4\/1\/2013)<\/a><\/li>\n<li><a href=\"http:\/\/gruntjs.com\/\">Available Grunt Plugins<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Install the Grunt command line tool (requires node.js installed on your machine)&#8230; sudo npm install grunt-cli -g Create package.json in root of project (list of Grunt plugin dependencies) npm install (install the dependencies) Create Gruntfile.js in root of project (configuration) Basically, you need three different functions to work with Grunt:\u00a0grunt.initConfig,\u00a0grunt.loadNpmTasks,\u00a0and\u00a0grunt.registerTask Resources Grunt: A Build Tool [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[144],"tags":[19,9,147,139,22,157],"class_list":["post-298","post","type-post","status-publish","format-standard","hentry","category-web-shots","tag-css","tag-javascript","tag-mo","tag-performance","tag-terminal","tag-tools"],"_links":{"self":[{"href":"https:\/\/webninjataylor.com\/library\/wp-json\/wp\/v2\/posts\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webninjataylor.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webninjataylor.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webninjataylor.com\/library\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webninjataylor.com\/library\/wp-json\/wp\/v2\/comments?post=298"}],"version-history":[{"count":14,"href":"https:\/\/webninjataylor.com\/library\/wp-json\/wp\/v2\/posts\/298\/revisions"}],"predecessor-version":[{"id":3371,"href":"https:\/\/webninjataylor.com\/library\/wp-json\/wp\/v2\/posts\/298\/revisions\/3371"}],"wp:attachment":[{"href":"https:\/\/webninjataylor.com\/library\/wp-json\/wp\/v2\/media?parent=298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webninjataylor.com\/library\/wp-json\/wp\/v2\/categories?post=298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webninjataylor.com\/library\/wp-json\/wp\/v2\/tags?post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}