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
- Host: GitHub
- URL: https://github.com/kawamataryo/vue-script-type-check
- Owner: kawamataryo
- License: mit
- Created: 2022-06-22T23:15:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T13:34:30.000Z (over 3 years ago)
- Last Synced: 2024-10-12T18:12:10.409Z (over 1 year ago)
- Topics: cli, typechecker, typescript, vue
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/vue-script-type-check
- Size: 322 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# vue-script-type-check
[](https://github.com/kawamataryo/vue-script-type-check/actions/workflows/ci.yml)

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