{"id":16304739,"url":"https://github.com/moznion/gulp-tsd","last_synced_at":"2025-03-20T21:31:22.914Z","repository":{"id":17498633,"uuid":"20286407","full_name":"moznion/gulp-tsd","owner":"moznion","description":"Gulp plugin to automate TSD and TypeScript definition related tasks","archived":false,"fork":false,"pushed_at":"2016-03-12T05:13:36.000Z","size":114,"stargazers_count":38,"open_issues_count":5,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-17T23:54:51.908Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moznion.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","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":"2014-05-29T07:50:42.000Z","updated_at":"2023-04-13T09:24:43.000Z","dependencies_parsed_at":"2022-07-10T06:31:20.824Z","dependency_job_id":null,"html_url":"https://github.com/moznion/gulp-tsd","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2Fgulp-tsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2Fgulp-tsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2Fgulp-tsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2Fgulp-tsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moznion","download_url":"https://codeload.github.com/moznion/gulp-tsd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243992970,"owners_count":20380300,"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-10T21:04:41.495Z","updated_at":"2025-03-20T21:31:22.661Z","avatar_url":"https://github.com/moznion.png","language":"JavaScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# gulp-tsd [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]\n\nGulp plugin to automate TSD and TypeScript definition related tasks\n\n## GETTING START\n\n### 1. Install `gulp-tsd`\n\n    npm install --save-dev gulp-tsd\n\n### 2. Write `gulpfile.js`\n\nFor example;\n\n```javascript\nvar tsd = require('gulp-tsd');\n\ngulp.task('tsd', function () {\n    return gulp.src('./gulp_tsd.json').pipe(tsd());\n});\n```\n\nor if you want to specify your options inline in your gulpfile\n\n```javascript\nvar tsd = require('gulp-tsd');\n\ngulp.task('tsd', function (callback) {\n    tsd({\n        command: 'reinstall',\n        config: './tsd.json'\n    }, callback);\n});\n```\n\n### 3. Write `gulp_tsd.json` (see blow)\n\n### 4. Write `tsd.json` (see below)\n\n### 5. Run!\n\n## DESCRIPTION\n\n### gulp_tsd.json (convenient name, you can give a name as you like)\n\nSetting file for this plugin.\nPass this file to entry point of this plugin through `gulp.src`.\n\ne.g.\n\n```json\n    {\n        \"command\": \"reinstall\", // this plugin supports only \"reinstall\"\n        \"latest\": true,         // if this property is true, tsd always fetches HEAD definitions\n        \"config\": \"./tsd.json\", // file path for configuration file (see below)\n        \"opts\": {\n            // options, EXPERIMENTAL\n        }\n    }\n```\n\n\n### tsd.json (convenient name, you can give a name as you like)\n\nConfiguration file for [tsd](https://github.com/DefinitelyTyped/tsd).\nSpecify this file by setting json (yes, above one).\n\ne.g.\n\n```json\n{\n    \"version\": \"v4\",\n    \"repo\": \"borisyankov/DefinitelyTyped\",\n    \"ref\": \"master\",\n    \"path\": \"typings\",\n    \"bundle\": \"typings/tsd.d.ts\",\n    \"installed\": {\n        \"jquery/jquery.d.ts\": {\n            \"commit\": \"0de1592ef9e3144b925287ca0494f621e12b01c6\"\n        }\n    }\n}\n```\n\nPlease refer to the [tsd.json](https://github.com/DefinitelyTyped/tsd#tsdjson) to get more information.\n\n## DEBUGGING\n\nThis library uses the popular [debug](https://github.com/visionmedia/debug) module for debugging.  To enable logging, set the `DEBUG` environment variable when running gulp tasks like so:\n\n```\nDEBUG=gulp-tsd gulp tsd\n```\n\n## NOTES\n\nA lot of codes are from [grunt-tsd](https://github.com/DefinitelyTyped/grunt-tsd). Thanks.\n\n## SEE ALSO\n\n- [tsd](https://github.com/DefinitelyTyped/tsd)\n- [grunt-tsd](https://github.com/DefinitelyTyped/grunt-tsd)\n\n## LICENSE\n\nMIT\n\n[npm-url]: https://npmjs.org/package/gulp-tsd\n[npm-image]: https://badge.fury.io/js/gulp-tsd.svg\n[travis-url]: https://travis-ci.org/moznion/gulp-tsd\n[travis-image]: https://travis-ci.org/moznion/gulp-tsd.svg?branch=master\n[daviddm-url]: https://david-dm.org/moznion/gulp-tsd\n[daviddm-image]: https://david-dm.org/moznion/gulp-tsd.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoznion%2Fgulp-tsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoznion%2Fgulp-tsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoznion%2Fgulp-tsd/lists"}