{"id":21634791,"url":"https://github.com/opendevstack/generator-node-express-typescript","last_synced_at":"2025-04-11T15:32:42.496Z","repository":{"id":33115944,"uuid":"140591012","full_name":"opendevstack/generator-node-express-typescript","owner":"opendevstack","description":"CAUTION! This repo is DEPRECATED. A yeoman generator for node, express, typescript based projects","archived":false,"fork":false,"pushed_at":"2022-02-16T04:42:13.000Z","size":91,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-03-25T09:15:43.364Z","etag":null,"topics":["nodejs","typescript"],"latest_commit_sha":null,"homepage":"","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/opendevstack.png","metadata":{"files":{"readme":"README-1x.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":"2018-07-11T14:58:22.000Z","updated_at":"2025-03-11T17:55:59.000Z","dependencies_parsed_at":"2022-08-07T20:00:39.956Z","dependency_job_id":null,"html_url":"https://github.com/opendevstack/generator-node-express-typescript","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/opendevstack%2Fgenerator-node-express-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendevstack%2Fgenerator-node-express-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendevstack%2Fgenerator-node-express-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendevstack%2Fgenerator-node-express-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opendevstack","download_url":"https://codeload.github.com/opendevstack/generator-node-express-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248431663,"owners_count":21102241,"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":["nodejs","typescript"],"created_at":"2024-11-25T03:18:11.094Z","updated_at":"2025-04-11T15:32:42.470Z","avatar_url":"https://github.com/opendevstack.png","language":"JavaScript","readme":"# TypeScript NodeJS Generator\n[![Build Status](https://secure.travis-ci.org/ospatil/generator-node-typescript.png?branch=master)](https://travis-ci.org/ospatil/generator-node-typescript)\n[![npm version](https://badge.fury.io/js/generator-node-typescript.svg)](http://badge.fury.io/js/generator-node-typescript)\n\nI'm a [Yeoman](http://yeoman.io) generator that allows you to create NodeJS modules using TypeScript. I let you quickly setup a project with latest available tools and best practices.\nTools and libraries I use -\n  - _tsc_ - for compiling TypeScript.\n  - _typings_ - for management of TypeScript definitions.\n  - _tsconfig.json_ - for providing compiler options.\n  - _tslint_ - for linting TypeScript source files.\n  - [_gulp_](http://gulpjs.com/) - as a build system. You can carry out above tasks through gulp.\n  - [_Jasmine 2_](http://jasmine.github.io/2.3/introduction.html) - for writing tests.\n\n\u003eYou want to know if you can change any of these? Of course, why not? It is your module after all. I simply get down to business of generating, no questions asked. Once done, I get out of the way and you can do as you please!\n\n## Usage\n\nInstall `generator-node-typescript`, `gulp-cli` and `typings` globally.\n\n```\nnpm install -g generator-node-typescript@1x gulp-cli typings\n```\n\nCreate a new directory and `cd` into it.\n\n```\nmkdir my-new-project \u0026\u0026 cd $_\n```\nRun `yo node-typescript`.\n```\nyo node-typescript\n```\nRun `gulp help` for information on available tasks.\n```\ngulp help\n```\nHere is the list of tasks available out of the box -\n```sh\n  _build          INTERNAL TASK - Compiles all TypeScript source files\n  build           Compiles all TypeScript source files and updates module references\n  clean           Cleans the generated js files from lib directory\n  gen-def         Generate a single .d.ts bundle containing external module declarations exported from TypeScript module files\n  help            Display this help text.\n  test            Runs the Jasmine test specs [build]\n  tslint          Lints all TypeScript source files\n  update-tsconfig Update files section in tsconfig.json using filesGlob entries\n  watch           Watches ts source files and runs build on change\n```\n\n## What's new in the latest release?\n- Use of latest version of TypeScript(`^1.8`).\n- Switch to _typings_ as manager for TypeScript definitions. The TSD team has deprecated _tsd_ in favour of _typings_. You can find more information about _typings_ on [Github](https://github.com/typings/typings).\n- Integration of _dts-generator_ tool to generate a single _.d.ts_ bundle containing external module declarations exported from TypeScript source files in the module. The package.json now declares _typings_ field that points to the single _.d.ts_ bundle. You can find more information about _typings_ field on [TypeScript Wiki](https://github.com/Microsoft/TypeScript/wiki/Typings-for-npm-packages).\n- Less global dependencies. `typescript` and `tslint` are now installed as local dev dependencies allowing you to freely use different versions of these for different modules.\n- Addition of _gulp watch_ task that watches ts source files and runs build on change.\n\n## Additional notes\n- I provide nice integration with [VS Code editor](https://code.visualstudio.com/). I configure the `gulp build` task as the default VS Code build task.\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendevstack%2Fgenerator-node-express-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopendevstack%2Fgenerator-node-express-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendevstack%2Fgenerator-node-express-typescript/lists"}