{"id":18127240,"url":"https://github.com/jshcrowthe/gulp-foreman","last_synced_at":"2025-04-06T13:48:56.036Z","repository":{"id":32931070,"uuid":"36526931","full_name":"jshcrowthe/gulp-foreman","owner":"jshcrowthe","description":"An easy way to get up and running with foreman in your project.","archived":false,"fork":false,"pushed_at":"2018-02-22T16:39:46.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T04:22:46.922Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jshcrowthe.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":"2015-05-29T20:16:42.000Z","updated_at":"2016-04-13T21:24:32.000Z","dependencies_parsed_at":"2022-08-07T18:16:30.387Z","dependency_job_id":null,"html_url":"https://github.com/jshcrowthe/gulp-foreman","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshcrowthe%2Fgulp-foreman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshcrowthe%2Fgulp-foreman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshcrowthe%2Fgulp-foreman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshcrowthe%2Fgulp-foreman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jshcrowthe","download_url":"https://codeload.github.com/jshcrowthe/gulp-foreman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492520,"owners_count":20947544,"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-01T09:16:28.132Z","updated_at":"2025-04-06T13:48:56.008Z","avatar_url":"https://github.com/jshcrowthe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"gulp-foreman\n=======================\n\nThis is a small foreman runner built for use with `gulp` (although it can be used outside of gulp as well).\n## Install\nInstall this plugin by running the following command at your terminal\n```bash\nnpm i -S gulp-foreman\n```\n\n## Example Usage\nThe following are a different ways to use the plugin\n\n### Default\nDefault usage is simple:\n\n```javascript\nvar gulp = require('gulp');\nvar foreman = require('gulp-foreman');\n\ngulp.task('default', function (argument) {\n  foreman();\n});\n```\n\nYou can provide a `.env` file in the same dir as your `gulpfile.js` that will be used to configure the environment of your process.\n\n### Configuration\nYou can also pass a configuration object with several params:\n\n- **procfile**: You can pass a string to this to specify the procfile used.\n- **env**: You can pass a string, or an array of strings, to define and configure the environment.\n- **port**: You can pass a number to define the default port. _NOTE: If you pass this param it will supercede any value passed in a .ENV file_\n\n**Procfile Config**\n\n```javascript\nvar gulp = require('gulp');\nvar foreman = require('gulp-foreman');\n\ngulp.task('default', function (argument) {\n  foreman({\n    procfile: 'Procfile.dev'\n  });\n});\n```\n\n**Env Config**\n\n```javascript\nvar gulp = require('gulp');\nvar foreman = require('gulp-foreman');\n\ngulp.task('default', function (argument) {\n  foreman({\n    env: 'beta.env',\n    // You can also pass an array like below and all envs will be included\n    // env: ['beta.env', 'beta_test.env'] \n  });\n});\n```\n\n**Port Config**\n\n```javascript\nvar gulp = require('gulp');\nvar foreman = require('gulp-foreman');\n\ngulp.task('default', function (argument) {\n  foreman({\n    port: 80\n  });\n});\n```\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshcrowthe%2Fgulp-foreman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjshcrowthe%2Fgulp-foreman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshcrowthe%2Fgulp-foreman/lists"}