0.0.16-8 • Published 5 years ago
tscgen-framework v0.0.16-8
tscgen-framework
Framework for creating code generation projects that are easy to maintain, update, and understand.
Installation
Install with NPM:
npm i -D tscgen-framework tscgen-cliInstall with Yarn:
yarn add --dev tscgen-framework tscgen-cliGetting Started
Create a tscgen.yaml in your root directory.
outDir: dist
projectDir: srctscgen will build your project from the projectDir and generate the output in the outDir.
Each file in projectDir gets processed and generated as a corresponding typescript generated file in the outDir.
Documentation
Project Setup Guide
1. Standalone Projects
NPM Scripts:
{
"scripts": {
"generate": "tscgen generate",
"build": "tsc"
}
}