{"id":22834778,"url":"https://github.com/tcly861204/gulp","last_synced_at":"2026-04-10T20:45:55.935Z","repository":{"id":99686914,"uuid":"86079154","full_name":"tcly861204/gulp","owner":"tcly861204","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-23T08:46:29.000Z","size":288,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T06:02:15.105Z","etag":null,"topics":["css","gulp","gulp-plugin","gulp-task","html5","javascript"],"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/tcly861204.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-24T14:52:33.000Z","updated_at":"2018-07-23T08:46:33.000Z","dependencies_parsed_at":"2023-04-15T19:17:23.253Z","dependency_job_id":"fbda345e-ccc9-4003-9c79-256460d3e865","html_url":"https://github.com/tcly861204/gulp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tcly861204/gulp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcly861204%2Fgulp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcly861204%2Fgulp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcly861204%2Fgulp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcly861204%2Fgulp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcly861204","download_url":"https://codeload.github.com/tcly861204/gulp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcly861204%2Fgulp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265245976,"owners_count":23734109,"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":["css","gulp","gulp-plugin","gulp-task","html5","javascript"],"created_at":"2024-12-12T22:07:27.051Z","updated_at":"2026-04-10T20:45:50.897Z","avatar_url":"https://github.com/tcly861204.png","language":"JavaScript","readme":"```\nnpm install -g gulp-concat 文件打包\nnpm install -g gulp-rename 文件重命名\nnpm install -g gulp-imagemin 图片压缩\nnpm install -g gulp-jslint js代码校验 慎用\nnpm install -g gulp-minify-css css压缩\nnpm install -g gulp-minify-html html压缩\nnpm install -g gulp-uglify js压缩\n\n```\n# 使用babel编译es6需要安装以下插件包 配置.babelrc\n```\n\"gulp-babel\": \"^7.0.0\",\n\"babel-core\": \"^6.26.0\",\n\"babel-polyfill\": \"^6.26.0\",\n\"babel-preset-stage-0\": \"^6.24.1\",\n\"babel-preset-es2015\": \"^6.24.1\",\n```\n\n\n# 入门指南\n1. 全局安装 gulp：\n```javascript\n$ npm install --global gulp\n```\n\n2. 作为项目的开发依赖（devDependencies）安装：\n```javascript\n$ npm install --save-dev gulp\n```\n\n3. 在项目根目录下创建一个名为 gulpfile.js 的文件：\n```javascript\nvar gulp = require('gulp');\n\ngulp.task('default', function() {\n  // 将你的默认的任务代码放在这\n});\n```\n\n4. 运行 gulp：\n```javascript\n$ gulp\n```\n\n# gulp API 文档\ngulp.src(globs[, options])\n\n输出（Emits）符合所提供的匹配模式（glob）或者匹配模式的数组（array of globs）的文件。 将返回一个 Vinyl files 的 stream 它可以被 piped 到别的插件中。\n\n\n```javascript\ngulp.src('client/templates/*.jade')\n  .pipe(jade())\n  .pipe(minify())\n  .pipe(gulp.dest('build/minified_templates'));\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcly861204%2Fgulp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcly861204%2Fgulp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcly861204%2Fgulp/lists"}