{"_id":"grunt-contrib-gotohead","_rev":"30-1e1f137e4da1211dc0b1c9d74a43d1db","name":"grunt-contrib-gotohead","description":"Get a css snippet and put into the style tag on head of HTML document.","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"grunt-contrib-gotohead","description":"Get a css snippet and put into the style tag on head of HTML document.","version":"0.1.0","homepage":"https://github.com/belchior/gotohead","author":{"name":"Belchior Oliveira","email":"belchiorso@gmail.com","url":"belchiorso.com.br"},"repository":{"type":"git","url":"git@github.com:belchior/gotohead.git"},"licenses":[{"type":"MIT","url":"gotohead/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"^0.9.2","grunt-contrib-clean":"^0.5.0","grunt-contrib-nodeunit":"^0.3.3","grunt":"~0.4.5"},"peerDependencies":{"grunt":"~0.4.5"},"keywords":["gruntplugin","performance","css","front-end"],"gitHead":"222bdb50a5714dccd0dbe197b9b6c3179290fa6e","_id":"grunt-contrib-gotohead@0.1.0","_shasum":"bf007126a5327d58a362ee4d1489584ef79bcfb0","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"belchior","email":"belchiorso@gmail.com"},"maintainers":[{"name":"belchior","email":"belchiorso@gmail.com"}],"dist":{"shasum":"bf007126a5327d58a362ee4d1489584ef79bcfb0","tarball":"https://registry.npmjs.org/grunt-contrib-gotohead/-/grunt-contrib-gotohead-0.1.0.tgz","integrity":"sha512-SHTjaPFPUq5+9DlI7dfyxjeKvldqCk+ngwYT5cMqwfzgEaeYPRVcn1tPAKPZu+cXt7mN5N8R5ISpv2Cj32GfPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6QQTw991iGw/zc+FVP6eqdMkDSmilM/0y6n6PBLFZBAiBdgkaHemGxmdeTLC2G30tUJaCEUcBSDpyB2Xp/L9oYIg=="}]}}},"readme":"# grunt-contrib-gotohead\n\n> Put into the HEAD of a HTML document snippets of code CSS or Javascript.\n\nIf you care about your website performance, you surely care about CSS and JavaScript minification, probably image optimization too, but what about the rendering of all this, do you care? This Grunt plugin was made to help you with that.\n\nWhen we separate the code of the [visible content](https://developers.google.com/speed/docs/insights/PrioritizeVisibleContent) from the other it's possible to optimize the speed of rendering of the page, obtaining a gain in the overall performance.\n\n## Getting Started\nThis plugin requires Grunt `~0.4.5`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-contrib-gotohead --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('gotohead');\n```\n\n## The \"gotohead\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `gotohead` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  gotohead: {\n    my_task: {\n      options: {\n        jade: false,\n        tag: 'style'\n      },\n      files: [\n        { orig: 'path/to/original/html.html',\n          dest: 'path/to/updated/html.html',\n          src: [ 'public/css/style1.css', 'public/css/style2.css' ] }\n      ]\n    }\n  }\n});\n```\nYou don't need minify your code because it will be done automatically.\n\n### Options\n\n#### Jade\nType: `boolean`\nDefault value: `false`\n\nUsed to update your HTML template wrote with Jade Template Engine.\n\n#### Tag\nType: `string`\n\nValue                      | Description\n---------------------------|---------------------------------------------------------\nstyle                      | Default value. For css code.\nscript                     | For Javascript code.\n","maintainers":[{"name":"belchior","email":"belchior@outlook.com"}],"time":{"modified":"2022-06-18T14:43:09.096Z","created":"2014-06-24T04:07:44.444Z","0.1.0":"2014-06-24T04:07:44.444Z","1.0.0":"2014-06-26T22:41:01.259Z","1.0.1":"2014-06-28T01:12:18.137Z","1.0.2":"2014-06-29T12:10:34.280Z","1.1.0":"2014-07-01T12:50:12.079Z","1.1.1":"2014-07-01T19:26:03.563Z","1.1.2":"2014-07-02T13:00:49.472Z","1.1.3":"2014-07-08T19:57:37.454Z","1.1.5":"2014-09-07T15:04:16.059Z"},"homepage":"https://github.com/belchior/gotohead","keywords":["gruntplugin","performance","css","front-end"],"repository":{"type":"git","url":"git@github.com:belchior/gotohead.git"},"author":{"name":"Belchior Oliveira","email":"belchiorso@gmail.com","url":"belchiorso.com.br"},"readmeFilename":"README.md","users":{}}