https://github.com/gaubee/npm-schemastore
schemastore
https://github.com/gaubee/npm-schemastore
Last synced: 7 months ago
JSON representation
schemastore
- Host: GitHub
- URL: https://github.com/gaubee/npm-schemastore
- Owner: Gaubee
- Created: 2022-07-31T03:30:42.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-31T10:52:58.000Z (almost 4 years ago)
- Last Synced: 2025-01-28T23:03:33.296Z (over 1 year ago)
- Language: TypeScript
- Size: 4.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# schemastore json
offline schemastore.
in vscode, you can config your `.vscode/settings.json`:
```json
"json.schemas": [
{
"fileMatch": ["tsconfig*.json"],
"url": "node_modules/schemastore/json/tsconfig.json"
}
]
```
or you can run those command in your project:
```shell
schemastore # auto set json.schemas config for you project
schemastore search tsc # find json file in schemastore
schemastore search =tsconfig.json # fileMatchs full equal
schemastore search ~tsconfig.json # fileMatchs startsWith
schemastore search \$tsconfig.json # fileMatchs endsWith
schemastore search tsconfig.json # fileMatchs includes
schemastore add tsconfig package # add search result to your json.schemas
```