{"id":23131224,"url":"https://github.com/emartech/boar-tasks","last_synced_at":"2025-08-17T08:31:10.557Z","repository":{"id":28202482,"uuid":"31704903","full_name":"emartech/boar-tasks","owner":"emartech","description":"Gulp tasks for Boar applications","archived":false,"fork":false,"pushed_at":"2018-08-16T13:37:26.000Z","size":101,"stargazers_count":0,"open_issues_count":5,"forks_count":4,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-07-06T23:39:19.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/emartech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-05T09:01:53.000Z","updated_at":"2018-08-16T13:37:27.000Z","dependencies_parsed_at":"2022-08-02T11:03:27.174Z","dependency_job_id":null,"html_url":"https://github.com/emartech/boar-tasks","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/emartech/boar-tasks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emartech%2Fboar-tasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emartech%2Fboar-tasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emartech%2Fboar-tasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emartech%2Fboar-tasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emartech","download_url":"https://codeload.github.com/emartech/boar-tasks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emartech%2Fboar-tasks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270125470,"owners_count":24531731,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-17T11:12:21.388Z","updated_at":"2025-08-17T08:31:10.331Z","avatar_url":"https://github.com/emartech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# boar-tasks [ ![Codeship Status for emartech/boar-tasks](https://codeship.com/projects/b3350cc0-a547-0132-df23-72e52541da30/status?branch=master)](https://codeship.com/projects/66644)\n[![Dependency Status](https://david-dm.org/emartech/boar-tasks.svg)](https://david-dm.org/emartech/boar-tasks)\n\n# Example tasks\n\n## Prerequisites\n\n```javascript\nvar config = require('./tasks.config');\nvar tasks = require('boar-tasks').getTasks(gulp, config);\n```\n\n## Publishing\nDeploying to S3 and registering files in Emarsys Redirector service.\n\n```javascript\ngulp.task('publish', ['publish-s3', 'publish-redirector']);\ngulp.task('publish-s3', function() { return tasks.s3.publish(); });\ngulp.task('publish-redirector', function() { return tasks.redirector.save(); });\n```\n\n### Revision customization\nBy default `Boar-tasks` will use a timestamp based revision on the `s3.publish` and the `redirector.save` tasks. If you prefer to use the version number as revision from the `package.json` then change the `revision.type` property of the task configuration to `package`.   \n\nIf you would like to setup the revision by yourself you can define it in two different ways: \n \n#### 1. Use --revision argument\n```bash\ngulp publish --revision myCustomRevision\n```\n\n#### 2. Directly add revisions to the tasks \n```javascript\nvar revision = 'myCustomRevision';\n\ngulp.task('publish', ['publish-s3', 'publish-redirector']);\ngulp.task('publish-s3', function() { return tasks.s3.publish(revision); });\ngulp.task('publish-redirector', function() { return tasks.redirector.save(revision); });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femartech%2Fboar-tasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femartech%2Fboar-tasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femartech%2Fboar-tasks/lists"}