Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soartec-lab/sample_typescript_dev_tools
prepare development for Typescript
https://github.com/soartec-lab/sample_typescript_dev_tools
Last synced: about 1 month ago
JSON representation
prepare development for Typescript
- Host: GitHub
- URL: https://github.com/soartec-lab/sample_typescript_dev_tools
- Owner: soartec-lab
- License: mit
- Created: 2021-05-03T00:34:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-03T03:16:56.000Z (over 3 years ago)
- Last Synced: 2024-10-22T02:16:04.237Z (2 months ago)
- Language: JavaScript
- Size: 122 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sample_typescript_dev_tools
prepare development for Typescript## Enviroment
Setup in the following environment.* Typescript
* eslint
* prettier
* webpack## Quick start
### Run node.js by docker-conpose
```
$ docker-compose build
$ docker-compose up -d
$ node -v
v15.14.0
```### Check style format
```
$ docker-compose build
$ docker-compose up -d# check style
$ docker-compose exec app yarm fmt# fix style
$ docker-compose exec app yarm fmt:fix
```### Check lint
```
$ docker-compose build
$ docker-compose up -d# check lint
$ docker-compose exec app yarm lint# fix lint
$ docker-compose exec app yarm lint:fix
```### Build Typescript
Output build file to `dist` directory.
```
$ docker-compose build
$ docker-compose up -d# build target is development
$ docker-compose exec app build# build target is production
$ docker-compose exec app build:production
```