An open API service indexing awesome lists of open source software.

https://github.com/anhsirk0/create-ts-app

Simple script to setup empty ts projects.
https://github.com/anhsirk0/create-ts-app

Last synced: 28 days ago
JSON representation

Simple script to setup empty ts projects.

Awesome Lists containing this project

README

        

* creat-ts-app
Simple script to setup empty ts project.
** Installation
#+BEGIN_SRC shell
curl https://codeberg.org/anhsirk0/create-ts-app/raw/branch/main/create-ts-app.pl --output create-ts-app
#+END_SRC
** Usage
*** In new directory
#+BEGIN_SRC shell
$ creat-ts-app new-dir
#+END_SRC
*** In current directory
#+BEGIN_SRC shell
$ creat-ts-app
#+END_SRC
** What will it do?
It will create a directory (if provided)
It will run these commands then.
#+BEGIN_SRC shell
$ npm i typescript --save-dev
$ npx tsc --init
$ echo 'console.log("Hello World!");' > index.ts
#+END_SRC