{"id":21574479,"url":"https://github.com/magiccube/gulp-ui5-lib","last_synced_at":"2025-03-18T06:43:30.977Z","repository":{"id":57259352,"uuid":"60068782","full_name":"MagicCube/gulp-ui5-lib","owner":"MagicCube","description":"An UNOFFICIAL Gulp plugin for building SAP UI5 libraries.","archived":false,"fork":false,"pushed_at":"2016-05-31T07:47:34.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T11:41:50.741Z","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/MagicCube.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":"2016-05-31T07:47:04.000Z","updated_at":"2017-11-18T15:00:49.000Z","dependencies_parsed_at":"2022-08-25T03:03:01.168Z","dependency_job_id":null,"html_url":"https://github.com/MagicCube/gulp-ui5-lib","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/MagicCube%2Fgulp-ui5-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fgulp-ui5-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fgulp-ui5-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicCube%2Fgulp-ui5-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MagicCube","download_url":"https://codeload.github.com/MagicCube/gulp-ui5-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244173500,"owners_count":20410295,"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-24T12:09:58.520Z","updated_at":"2025-03-18T06:43:30.956Z","avatar_url":"https://github.com/MagicCube.png","language":"JavaScript","readme":"# gulp-ui5-lib\nAn UNOFFICIAL Gulp plugin for building SAP UI5 libraries.\n\n\n## Installation\n```\n$ npm install --save-dev gulp-ui5-lib\n```\n\n## Usage\n```js\nconst gulp = require(\"gulp\");\nconst less = require(\"gulp-less\");\nconst runSequence = require(\"run-sequence\");\nconst uglify = require(\"gulp-uglify\");\nconst ui5Lib = require(\"gulp-ui5-lib\");\n\ngulp.task(\"default\", [ \"build\" ]);\n\ngulp.task(\"clean\", function(cb) {\n    del(\"./assets/example\").then(() =\u003e {\n        cb();\n    }, function(reason) {\n        cb(reason);\n    });\n});\n\ngulp.task(\"build\", [ \"clean\" ], function(cb) {\n    runSequence(\n        [ \"build-less\", \"build-library\" ]\n    );\n});\n\ngulp.task(`build-less`, function() {\n    return gulp.src(\"./src/themes/base/library.less\")\n        .pipe(less())\n        .pipe(gulp.dest(\"./assets/themes/base\"));\n});\n\ngulp.task(\"build-library\", function() {\n    return gulp.src(\"./src/example/**/*.js\")\n               .pipe(uglify())\n               .pipe(ui5Lib(\"example\"))\n               .pipe(gulp.dest(\"./assets/example\"));\n});\n```\n\n## Reference\n+ [babel-plugin-ui5](https://github.com/MagicCube/babel-plugin-ui5)\n+ [babel-plugin-ui5-example](https://github.com/MagicCube/babel-plugin-ui5-example)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiccube%2Fgulp-ui5-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagiccube%2Fgulp-ui5-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiccube%2Fgulp-ui5-lib/lists"}