Skip to content

Jamyth/core-codegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Core-Codegen

A Simple codegen tool for quickly create empty npm package.

Usage

$ npm install -g @iamyth/core-codegen
or
$ yarn add -g @iamyth/core-codegen

In your Terminal, run:

$ core-codegen your-package-name (--flags)

Flags

  • react
  • nest
  • fullstack
  • blank for nodejs library

Package naming convention will strictly follow NodeJS's

Directory Structure

+- your-package-name
|   +- config
|   |   +- tsconfig.base.json
|   |   +- tsconfig.src.json
|   |   +- tsconfig.script.json
|   |   +- tsconfig.test.json
|   +- script
|   |   +- build.ts
|   |   +- format.ts
|   |   +- lint.ts
|   |   +- spawn.ts
|   +- src
|   |   +- index.ts
|   +- test
|   |   +- index.test.ts
|   +- .eslintrc.js
|   +- .gitignore
|   +- .prettierrc.js
|   +- package.json
|   +- tsconfig.json

About

A simple codegen tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published