{"id":22213942,"url":"https://github.com/xmlking/gulp-ng-recipes","last_synced_at":"2025-03-25T06:23:48.990Z","repository":{"id":36152647,"uuid":"40456681","full_name":"xmlking/gulp-ng-recipes","owner":"xmlking","description":"A Collection of Gulp Recipes. ","archived":false,"fork":false,"pushed_at":"2016-01-01T18:53:09.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T16:18:47.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/xmlking.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":"2015-08-10T01:17:27.000Z","updated_at":"2019-08-28T12:47:27.000Z","dependencies_parsed_at":"2022-07-22T20:47:25.991Z","dependency_job_id":null,"html_url":"https://github.com/xmlking/gulp-ng-recipes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fgulp-ng-recipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fgulp-ng-recipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fgulp-ng-recipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fgulp-ng-recipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xmlking","download_url":"https://codeload.github.com/xmlking/gulp-ng-recipes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245409499,"owners_count":20610536,"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-12-02T21:12:40.237Z","updated_at":"2025-03-25T06:23:48.970Z","avatar_url":"https://github.com/xmlking.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"gulp-ng-recipes\n---------------\n\nA collection of gulp tasks to share with all your projects.\n\nWhen gulp 4 is released, gulp-ng-recipes will be rewritten to support [custom registries](https://github.com/phated/undertaker#custom-registries).\n\nSample Project : [spa-starter-kit](https://github.com/xmlking/spa-starter-kit)\n\n**Node:** this module assumes you are using `typescript` with `JSPM`.\n\n\n### Installation \nPrerequisites: \n\n* node.js 5.x\n* ruby\n* `gem install scss_lint` \n* optionally `gem install scss`\n\n**SASS**: for windows, install `gulp-ruby-sass` npm module, for linux or Mac use `gulp-sass`.\n\n```bash\n# install prerequisite globe npm modules \nnpm install -g gulp tsd jspm\n# install this npm modules \nnpm install gulp-ng-recipes --save-dev --no-optional\n# install optional sass npm module\nnpm install gulp-sass --save-dev # or npm install gulp-ruby-sass --save-dev\n```\n\n### gulpfile.ts\n\ncreate `gulpfile.ts` file in your project root. \nAdd recipes you needed as shown below: \n\n```js\nimport 'gulp-ng-recipes/gulp/globals';\nimport 'gulp-ng-recipes/gulp/server';\nimport 'gulp-ng-recipes/gulp/tslint';\nimport 'gulp-ng-recipes/gulp/sasslint';\n// if you are using ruby sass, use: import 'gulp-ng-recipes/gulp/sass.ruby';\nimport 'gulp-ng-recipes/gulp/sass';\nimport 'gulp-ng-recipes/gulp/images';\nimport 'gulp-ng-recipes/gulp/fonts';\nimport 'gulp-ng-recipes/gulp/html';\nimport 'gulp-ng-recipes/gulp/offline';\nimport 'gulp-ng-recipes/gulp/build';\nimport 'gulp-ng-recipes/gulp/gpdeploy';\n```\n\n\n### gulp config\nwe support cascaded configuration files with environment specific overwrites based on `NODE_ENV` you pass in command-line i.e., `gulp serve --env=prod`\n\ncopy sample config files from `node_modules/gulp-ng-recipes/gulp/config` to your project `gulp/config` folder.\n \n \n###  Issues\n* if you have issues with gulp-sass (on windows!), manually install `gulp-ruby-sass` and use `sass.ruby.js` recipe provided.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmlking%2Fgulp-ng-recipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmlking%2Fgulp-ng-recipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmlking%2Fgulp-ng-recipes/lists"}