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.
- Host: GitHub
- URL: https://github.com/anhsirk0/create-ts-app
- Owner: anhsirk0
- Created: 2024-08-11T06:52:11.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-24T07:13:12.000Z (9 months ago)
- Last Synced: 2025-03-31T06:22:38.354Z (2 months ago)
- Language: Perl
- Size: 1.95 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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