{"id":19349351,"url":"https://github.com/markcarrrr/grunt-all-the-things","last_synced_at":"2026-05-14T22:03:04.661Z","repository":{"id":22862207,"uuid":"26209893","full_name":"markcarrrr/grunt-all-the-things","owner":"markcarrrr","description":null,"archived":false,"fork":false,"pushed_at":"2015-01-08T10:51:00.000Z","size":1004,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T15:19:00.399Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markcarrrr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-05T08:15:33.000Z","updated_at":"2015-01-08T10:51:01.000Z","dependencies_parsed_at":"2022-08-21T13:30:36.705Z","dependency_job_id":null,"html_url":"https://github.com/markcarrrr/grunt-all-the-things","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcarrrr%2Fgrunt-all-the-things","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcarrrr%2Fgrunt-all-the-things/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcarrrr%2Fgrunt-all-the-things/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcarrrr%2Fgrunt-all-the-things/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markcarrrr","download_url":"https://codeload.github.com/markcarrrr/grunt-all-the-things/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240457988,"owners_count":19804489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T04:25:52.442Z","updated_at":"2026-05-14T22:02:59.623Z","avatar_url":"https://github.com/markcarrrr.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-all-the-things\n-- \n\n##Grunt Tasks\n\n### Grunt Modernizr\n\ngrunt-modernizr will crawl your project for Modernizr test references and save out a minified, uglified, customized version using only the tests you've used in your JavaScript or (S)CSS.  \n\nGrunt task: \u003ccode\u003egrunt modernizr\u003c/code\u003e  \n\n\u003cstrong\u003eNOTE:\u003c/strong\u003e If you comment out Modernzir specific tests in CSS or JS the Grunt Task will output as though the test is being used e.g.\n\n\u003ccode\u003e\n\t// .svg { foo: bar; }  \n\t.opacity { foo: bar; }\n\u003c/code\u003e\n\nBoth \u003ccode\u003e.svg\u003c/code\u003e and \u003ccode\u003e.opacity\u003c/code\u003e in the above example would be included in the Modernizr Grunt build so commented out Modernizr tests need to be removed before build or simply don't comment out Modernizr tests. Just to reiterate this applies to both JS and (S)CSS.\n\n\u003ch3\u003eReferences\u003c/h3\u003e\n\u003cdl\u003e\n\t\u003cdt\u003eGIT\u003c/dt\u003e\n\t\u003cdd\u003e\u003ca href=\"https://github.com/Modernizr/grunt-modernizr\"\u003egrunt-modernizr\u003c/a\u003e\u003c/dd\u003e\n\u003c/dl\u003e\n\n---\n\n###SVG sprite with PNG fallback\nGrunt plugin to create SVG sprites with PNG fallback and (S)CSS file with image reference, sizes and coordinates. Images will be optimised as part of the grunt task also.  \n\t\t\t\nGrunt task: \u003ccode\u003egrunt sprite\u003c/code\u003e  \n\t\t\t\n\u003cstrong\u003eNOTE:\u003c/strong\u003e SVGs must be created at the correct size so the SVG and PNG are identical to match the (S)CSS coordinates output.  \n\t\t\t\n####Naming convention:\nThe CSS naming convention is simply based on the filename e.g. naming a file icon--twitter.svg will result in the classname \u003ccode\u003eicon--twitter\u003c/code\u003e\n\t\t\t\n####CAVEATS:\n\u003cul\u003e\n\t\u003cli\u003eFor hover effects include the hover state as a SVG and manually apply the CSS or use CSS \u003ccode\u003eopacity\u003c/code\u003e, possibliy use \u003ccode\u003ebackground-color\u003c/code\u003e depending on the how the icon is applied\u003c/li\u003e\n\u003c/ul\u003e\n\n####References\n\u003cdl\u003e\n\t\u003cdt\u003eGIT\u003c/dt\u003e\n\t\u003cdd\u003e\u003ca href=\"https://github.com/drdk/grunt-dr-svg-sprites\"\u003egrunt-dr-svg-sprites\u003c/a\u003e\u003c/dd\u003e\n\u003c/dl\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkcarrrr%2Fgrunt-all-the-things","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkcarrrr%2Fgrunt-all-the-things","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkcarrrr%2Fgrunt-all-the-things/lists"}