{"id":19751133,"url":"https://github.com/mipengine/mip-builder","last_synced_at":"2025-02-28T00:49:19.420Z","repository":{"id":57298183,"uuid":"70172926","full_name":"mipengine/mip-builder","owner":"mipengine","description":"Builder for MIP and MIP Extension","archived":false,"fork":false,"pushed_at":"2016-10-17T10:17:35.000Z","size":45,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-10T21:32:42.182Z","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/mipengine.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":"2016-10-06T16:39:38.000Z","updated_at":"2017-09-12T03:22:47.000Z","dependencies_parsed_at":"2022-09-06T03:30:26.253Z","dependency_job_id":null,"html_url":"https://github.com/mipengine/mip-builder","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipengine%2Fmip-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipengine%2Fmip-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipengine%2Fmip-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipengine%2Fmip-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mipengine","download_url":"https://codeload.github.com/mipengine/mip-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241080828,"owners_count":19906355,"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-12T02:42:35.055Z","updated_at":"2025-02-28T00:49:19.246Z","avatar_url":"https://github.com/mipengine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"mip-builder\n===========\n\nBuilder for MIP and MIP Extension\n\n\u003ca href=\"https://circleci.com/gh/mipengine/mip-builder/tree/master\"\u003e\u003cimg src=\"https://img.shields.io/circleci/project/mipengine/mip-builder/master.svg?style=flat-square\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\n## Usage\n\n`(new Builder(options)).build()`\n\n```javascript\nvar Builder = require('mip-builder');\n\nvar builder = new Builder({\n    dir: '/your/build/root',\n    outputDir: '/your/output/target/directory',\n\n    files: [\n        // bla bla\n    ],\n\n    processor: [\n        // bla bla\n    ]\n});\n\nbuilder.build();\n```\n\n## API\n\n\n\n### options\n\n#### dir\n\n`string`\n\nThe directory which you want to build.\n\n#### outputDir\n\n`string`\n\nOutput target directory for build result.\n\n#### files\n\n`Array.\u003cstring\u003e`\n\nSelectors for select which file should be do building.\n\n#### processors\n\n`Array.\u003cProcessor|Object\u003e`\n\nProcessors, each one will apply to all files by default.\n\n\n\n### methods\n\n#### prepare\n\n'arguments': none\n\n`return`: Promise\n\n`description`: load all files\n\n\n#### process\n\n'arguments': none\n\n`return`: Promise\n\n`description`: do process for all files. this method must call after prepare resolved.\n\n\n#### output\n\n'arguments': none\n\n`return`: Promise\n\n`description`: generate all files to outputDir.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmipengine%2Fmip-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmipengine%2Fmip-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmipengine%2Fmip-builder/lists"}