Git Product home page Git Product logo

create-typescript-app's Introduction

create-typescript-template-app

Create node cli application.

Table of content

  1. Installation
  2. Usage
  3. Development

Installation

Option A

You can install by using bin script.

  1. Download file that match you os and cpu in bin
  2. make it execuable by chmod +x <path/to/file>
  3. learn more create-typescript-template-app --help

Option B

Install by yarn or npm

  • Yarn
    1. run yarn create typescript-app <app-name> [option...]
    2. learn more by yarn create typescript-app --help
  • Npm
    1. run npm init typescript-app <app-name> [option...] or npx create-typescript-template-app <app-name> [option...]
    2. learn more by npm init typescript-app --help or npx create-typescript-template-app --help

Usage

create-typescript-template-app <app-name...>

Create typescript application.

Positionals:
  app-name  Application name, can be capital, and space name            [string]

Options:
  --help           Show help                                           [boolean]
  --version        Show version number                                 [boolean]
  --to-dir, -P     Instead of create in current folder, use this.       [string]
  --space-replace  this replacement will replace spaces           [default: "-"]
  --current, -C    Create application to current folder                 [string]

Development

This generate command contain only 1 javasccript file which is index.js. This use only yargs to create cli, prompts to make prompts command, listr to output result as progress text, mustache to create file templates and pkg to build binary file (which shouldn't be use).

You will have only 3 command possible with yarn or npm

  1. start: which run node index.js
  2. build: which build execuable file in bin folder (separate by os).
  3. deploy: which basically call npm run publish, you might got error when use by yarn

create-typescript-app's People

Contributors

renovate-bot avatar

Watchers

James Cloos avatar Kangwook Lee (이강욱) avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.