{"id":19901365,"url":"https://github.com/lissy93/gulp-example","last_synced_at":"2025-05-02T23:31:43.204Z","repository":{"id":35431889,"uuid":"39697773","full_name":"Lissy93/gulp-example","owner":"Lissy93","description":"💎 An example implementation of the gulp build tool in a Node.js Express web app","archived":false,"fork":false,"pushed_at":"2017-12-30T16:38:22.000Z","size":10,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-07T08:32:28.430Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lissy93.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-07-25T18:35:28.000Z","updated_at":"2022-10-14T17:57:30.000Z","dependencies_parsed_at":"2022-09-06T13:22:31.127Z","dependency_job_id":null,"html_url":"https://github.com/Lissy93/gulp-example","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/Lissy93%2Fgulp-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lissy93%2Fgulp-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lissy93%2Fgulp-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lissy93%2Fgulp-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lissy93","download_url":"https://codeload.github.com/Lissy93/gulp-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252122273,"owners_count":21698305,"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-12T20:14:49.324Z","updated_at":"2025-05-02T23:31:42.897Z","avatar_url":"https://github.com/Lissy93.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Implementation of Gulp in a Node Express Project\n\n### Instructions to run the project\n\n- Open the console and navigate into a new working directory\n- Run the command: ```git clone https://github.com/Lissy93/gulp-example.git```\n- Install the dependencies by running: ```npm install```\n- Start the gulp script bu running: ```gulp```\n\n\n\n\n\n### Features\n- Syncs current browser state including page, position on page etc between multiple different browsers both local and remote, using [browser-sync](https://github.com/BrowserSync/browser-sync)\n- Auto refreshes the Express server on file change using [nodemon](https://github.com/remy/nodemon)\n- Creates a production version of your code from the source directory into the public directory using [Gulp](https://github.com/gulpjs/gulp) and various modules.\n\n\n### Automated Code Tasks\n- Checks all JavaScript (with [gulp-jshint](https://github.com/spalger/gulp-jshint)), CoffeeScript (with [gulp-coffeelint](https://github.com/janraasch/gulp-coffeelint)), CSS (with [gulp-csslint](https://github.com/lazd/gulp-csslint)) and Less for errors and warnings and logs details to the console (with [gulp-util](https://github.com/gulpjs/gulp-util))\n- Compiles CoffeeScript into JavaScript using [gulp-coffee](https://github.com/wearefractal/gulp-coffee)\n- Compiles Less into CSS using [gulp-less](https://github.com/plus3network/gulp-less)\n- Concatinates all JavaScript and CSS into one or a few single files, to reduce the amount of scripts included in the html, using [gulp-concat](https://github.com/wearefractal/gulp-concat)\n- Doesn't include unused CSS class in production code using [gulp-uncss](https://github.com/ben-eb/gulp-uncss)\n- Minifys all JavaScript using [gulp-uglify](https://github.com/terinjokes/gulp-uglify) and CSS using [gulp-minify-css](https://github.com/murphydanger/gulp-minify-css)\nOptionally adds a comment or text item to the bottom of each public file using [gulp-footer](https://github.com/godaddy/gulp-footer)\n- Finds the file size of the production file and logs it to the console with [gulp-filesize](https://github.com/Metrime/gulp-filesize)\n- It cleans the public directory before putting results in it using [del](https://github.com/sindresorhus/del)\n- Pipes all result files into the public directory without creating temporary files with [event-stream](https://github.com/dominictarr/event-stream)\n- It only does the above processes on files that have been changed which is determined using [gulp-changed](https://github.com/sindresorhus/gulp-changed)\n\n### Documented Version\n[Click here to view a slightly over-commented gist of the gulpfile explaining what everything is doing](https://gist.github.com/Lissy93/1eb7a804b7250d714e02)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flissy93%2Fgulp-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flissy93%2Fgulp-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flissy93%2Fgulp-example/lists"}