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

https://github.com/kawamataryo/vue-script-type-check

Command line Type-Checking tool for only the script part of Vue
https://github.com/kawamataryo/vue-script-type-check

cli typechecker typescript vue

Last synced: about 1 year ago
JSON representation

Command line Type-Checking tool for only the script part of Vue

Awesome Lists containing this project

README

          

# vue-script-type-check

[![CI](https://github.com/kawamataryo/vue-script-type-check/actions/workflows/ci.yml/badge.svg)](https://github.com/kawamataryo/vue-script-type-check/actions/workflows/ci.yml)
Downloads
Version
License
GitHub stars

command line Type-Checking tool for only the script part of Vue

https://user-images.githubusercontent.com/11070996/175428327-a67f970a-46d4-4de1-8317-77b68a4670e5.mp4

## 🚀 Usage

Run the script in the directory where `tsconfig.json` is located.

```bash
$ npx vue-script-type-check ./src/**/*.vue
```

### options

| option | default | description |
| ------------------- | ----------------- | ---------------------- |
| -t, --tsconfig-path | `./tsconfig.json` | Path to tsconfig.json. |

## ✨ Contributing

Contributions are welcome 🎉
We accept contributions via Pull Requests. See [this guide](https://github.com/kawamataryo/vue-script-type-check/blob/main/CONTRIBUTING.md) on how to make a contribution.

## 📄 License

vue-script-type-check is available under the MIT License.

## 🛣️ TODO

- [x] Fix bug where accurate line numbers were not displayed
- [ ] Add auto publish