Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thesmartmonkey/create-typescript-app
Simple typescript app with jest for small and fast projects
https://github.com/thesmartmonkey/create-typescript-app
Last synced: about 16 hours ago
JSON representation
Simple typescript app with jest for small and fast projects
- Host: GitHub
- URL: https://github.com/thesmartmonkey/create-typescript-app
- Owner: TheSmartMonkey
- License: mit
- Created: 2022-12-23T00:30:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T23:14:13.000Z (about 1 year ago)
- Last Synced: 2024-11-05T13:13:47.510Z (about 2 months ago)
- Language: TypeScript
- Size: 313 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-typescript-app
Simple typescript app with jest for small and fast projects
## Installation
```sh
npx degit https://github.com/TheSmartMonkey/create-typescript-app app
```## Getting started
1. Install nodejs : https://nodejs.org/en/
1. Install node_modules with `npm install`
1. Avalable commands with `npm run` (`npm run start` runes your code from `main.ts`)
```
start
npm run build && node dist/main.js
test
jest
lint
eslint src --ext .ts
clear
rmdir /s "dist"
build
tsc
```## Folder tree
```
| .eslintrc.json
| .gitignore
| .prettierignore
| .prettierrc.json
| jest.config.ts
| junit.xml
| LICENSE
| main.ts
| package-lock.json
| package.json
| README.md
| tree.txt
| tsconfig.json
| tsconfig.paths.json
|
+---src
| tree.txt
|
+---functions
| hello.test.ts
| hello.ts
|
+---libs
| .gitkeep
|
+---models
hello.model.ts
```