{"id":17910787,"url":"https://github.com/thebuilder/gulp-static-template","last_synced_at":"2025-04-03T06:42:06.150Z","repository":{"id":23752738,"uuid":"27126947","full_name":"thebuilder/gulp-static-template","owner":"thebuilder","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-03T08:22:01.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T20:28:36.173Z","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/thebuilder.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":"2014-11-25T13:26:18.000Z","updated_at":"2015-04-27T10:43:03.000Z","dependencies_parsed_at":"2022-08-20T01:10:31.365Z","dependency_job_id":null,"html_url":"https://github.com/thebuilder/gulp-static-template","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/thebuilder%2Fgulp-static-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebuilder%2Fgulp-static-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebuilder%2Fgulp-static-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebuilder%2Fgulp-static-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thebuilder","download_url":"https://codeload.github.com/thebuilder/gulp-static-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246952273,"owners_count":20859811,"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-10-28T19:34:33.642Z","updated_at":"2025-04-03T06:42:06.134Z","avatar_url":"https://github.com/thebuilder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://codeship.com/projects/2c9eec40-b6b7-0132-2991-5a80fed4d730/status?branch=master)\n\nGulp Tasks Repository\n=====================\nThis is a repository containing various Gulp tasks, that can be used in your projects.\nThey are all split in separate files, to make it easy to copy what you need.\n\nCurrently Work in Progress\n\n## Getting started\nThe following tools are required when developing the project locally:\n\n### Prerequisites\n* [Node.js](http://nodejs.org/ \"Node\") -\n  Make sure node is installed and paths are configured, so you can use **npm** from the terminal.\n* [gulp](https://github.com/gulpjs/gulp) -\n  Install **gulp** globally, so you can execute it from the terminal: `$ npm install gulp -g`\n* Install all the project dependencies: `$ npm install`\n\n## Gulp\n### Tasks\nAll the individual tasks are located in `./gulp/tasks/`. They are self contained, and can be run independent of each other.\nIf you are running in watch mode, the tasks will configure their own watch logic.\n\n### Config\nBase paths are all defined in `./gulp/config.js/. Feel free to change these to suit your needs.\n\n### Gulp Arguments\nWhen calling `gulp`, you can pass it the following arguments in addition to tasks.\n\n##### --watch\nRuns the tasks supplied in watch mode. So calling `gulp less --watch` will compile you LESS files, and watch for changes.\n\n##### --release\nRuns the tasks supplied in production mode. By default tasks are run in dev mode, but you can use this argument to override it.\n\n### FTP\nTo enable FTP so you can upload the **dist** directory, you should create a `.ftp.json` file in the gulp directory.\n\nThe `.ftp.json` file should have the following structure, based on the options used by [https://www.npmjs.com/package/vinyl-ftp](vinly-ftp):\n\n```\n[{\n  \"id\": \"demo\",\n  \"options\": {\n    \"host\": \"\",\n    \"port\": 21,\n    \"user\": \"\",\n    \"pass\": \"\",\n    \"remotePath\": \"/\"\n  }\n}]\n```\n\n## Browserify\nThe `app.js` file is compiled using Browserify. This allows you to **require()** files you need, and ensures everything is encapsulated.\n\nA seperate `vendor.js` file is created when compiling. It includes .js libs, that should not be part of your main app.js. You can require these in your app, where you need them.\n\nYou control the libraries included through `package.json`.\n\n###dependencies\nAll **node_modules** that should be included in the project, should be listed as dependencies. When compiling the project with Browserify, all these modules will be included in `vendor.js` and excluded from `app.js`.\n\n### browser\nIf a **node_module** should use a special `.js` file, are you need to add your own files, you should add them in the `browser` field. This will override the default .js file associated with a module. \n\n```\n\"browser\": {\n  \"gsap\": \"./node_modules/gsap/src/uncompressed/TweenMax.js\",\n  \"./shared\": \"./src/js/shared.js\"\n}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebuilder%2Fgulp-static-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebuilder%2Fgulp-static-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebuilder%2Fgulp-static-template/lists"}