Coder Social home page Coder Social logo

adrianhdezm / ts-app-cli Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 337 KB

CLI for creating applications based on typescript

License: MIT License

JavaScript 34.05% TypeScript 64.17% CSS 0.28% HTML 1.50%
typescript cli-app vanilla-typescript nodejs xstate cli boilerplates

ts-app-cli's Introduction

Typescript App CLI [npm package]

Typescript App CLI provides a simple way to start a project based on typescript using a very opinionated configuration for the file structure and development tools (i.e., Webpack, Prettier, TSLint, etc.)

How to use it

Currently, we support two types of templates, web for projects that will run in the browser (e.g., SPA) and node for the remaining environments (e.g., node webserver).

For creating a node-based project

npx ts-app-cli my-app
cd my-app
npm start

For creating a web-based project (i.e., Single-page application)

npx ts-app-cli -t web my-app
cd my-app
npm start

Motivation

In the past, we use to create boilerplates and example projects, mainly for building single-page applications, yet this has some limitations, such as adjusting the names, removing unnecessary code, etc. We don't think that only by using a CLI all the adapting a boilerplate process hassles can be easily solved. Nevertheless, it provides a mechanism to address some of them straightforwardly. For example, keep the dependencies updated and align the project name with a project folder, README.md, and package.json).

Acknowledgements

This projects is heavily inspired by Create React App.

License

TS App CLI is open source software licensed as MIT.

ts-app-cli's People

Contributors

adrianhdezm avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fruitbox12

ts-app-cli's Issues

Yarn?

Looks like yarn not supported.

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.