0.0.2 • Published 4 years ago

generator-ts-repo v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

generator-ts-repo NPM version Build Status Dependency Status

Generate a git repository with Node and Typescript.

Installation

First, install Yeoman and generator-ts-repo using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-ts-repo

Then generate your new project:

yo ts-repo

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

What do you get

Scaffolds out a complete Nodejs repository structure for you:

└─ repo
   ├─ .editorconfig
   ├─ .eslintignore
   ├─ .eslintrc.js
   ├─ .git
   ├─ .gitattributes
   ├─ .gitignore
   ├─ .prettierrc
   ├─ .travis.yml
   ├─ .vscode
   │  └─ settings.json
   ├─ LICENSE
   ├─ README.md
   ├─ commitlint.config.js
   ├─ jest.config.js
   ├─ package.json
   ├─ src
   │  ├─ example.spec.ts
   │  └─ example.ts
   └─ tsconfig.json

Build with:

  • Typescript
  • eslint
  • prettier
  • jest
  • husky
  • lint-staged
  • commitizen

License

MIT © caikaijie