{"id":21835878,"url":"https://github.com/vtex/grunt-defaults","last_synced_at":"2025-04-14T09:19:59.194Z","repository":{"id":31496455,"uuid":"35060684","full_name":"vtex/grunt-defaults","owner":"vtex","description":"Grunt config mixins","archived":false,"fork":false,"pushed_at":"2015-05-08T19:05:34.000Z","size":128,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-14T09:19:54.122Z","etag":null,"topics":["srv-checkout-ui","xp-shopping"],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vtex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-04T21:27:25.000Z","updated_at":"2019-07-03T20:48:25.000Z","dependencies_parsed_at":"2022-09-22T17:13:04.403Z","dependency_job_id":null,"html_url":"https://github.com/vtex/grunt-defaults","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fgrunt-defaults","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fgrunt-defaults/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fgrunt-defaults/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fgrunt-defaults/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtex","download_url":"https://codeload.github.com/vtex/grunt-defaults/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852186,"owners_count":21171843,"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":["srv-checkout-ui","xp-shopping"],"created_at":"2024-11-27T20:25:44.773Z","updated_at":"2025-04-14T09:19:59.161Z","avatar_url":"https://github.com/vtex.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-defaults\n\nA Grunt convention-over-configuration meta-project.\n\n## Usage\n\nAdd `@vtex/grunt-defaults` as a dependency on your project:\n\n    npm i --save-dev @vtex/grunt-defaults\n\nEach file in `configs/` exports a function that returns some piece of grunt configuration.\n\nUse them to build the config object in your `Gruntfile`:\n\n```\ndefaults = require '@vtex/grunt-defaults'\n_ = require 'underscore'\n\nmodule.exports = (grunt) -\u003e\n  pkg = grunt.file.readJSON 'package.json'\n\n  config = _.extend(\n    defaults.webpack(pkg),\n    {\n      open:\n        options:\n          delay: 500\n        dev:\n          path: 'http://localhost:\u003c%= connect.options.port %\u003e/webpack-dev-server/'\n    }\n  )\n\n  tasks =\n    default: ['open:dev', 'webpack-dev-server']\n\n  grunt.config.init config\n  require('load-grunt-tasks')(grunt, {pattern: ['grunt-*']})\n  grunt.registerTask taskName, taskArray for taskName, taskArray of tasks\n\n```\n\n## Contributing\n\nAdd a file to `configs/` that exports a function returning a grunt config object.\n\n`index.coffee` auto-discovers new files.\n\n------\n\nVTEX - 2015\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fgrunt-defaults","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtex%2Fgrunt-defaults","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fgrunt-defaults/lists"}