@manuth/generator-ts-project v5.0.1
TSProjectGenerator
A Set of Generators for Creating Projects Written in TypeScript
Usage
Install TSProjectGenerator
You can install TSProjectGenerator using the following command:
npm install -g yo @manuth/generator-ts-projectGenerate a Generator Written in TypeScript
You can create a generator written in TypeScript using this command:
yo @manuth/ts-projectIt is recommended to use a code-editor which provides TypeScript-support (like, for example VSCode or Atom).
Generator Output
- A basic folder-structure for keeping TypeScript-code andJavaScript-builds separate
- Linting-rules (optional)- Either weak rules…
- …or strong rules
 
- A node-package with required dependencies
- Mocha test-environment
- NPM-Scripts for…- Compiling the TypeScript-code
- Cleaning compiled TypeScript-code
- Linting the package
- Testing the package
 
- Visual Studio Code workspace (optional)- Settings
- Task for building the generator (by pressing CTRL, SHIFT + B)
- Task for linting the generator
- Debug-settings
 
When generating a module you'll additionally get:
- An empty indexscript
When generating a generator you'll get following in addition:
- An EJS-extension for VSCode
- An example-generator including template-files
- As many sub-generators as you bother to create
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago