rollup-plugin-type-as-json-schema
Version:
A rollup plugin to load a ts type as json schema object.
40 lines (27 loc) • 909 B
Markdown
[](https://travis-ci.org/wmzy/rollup-plugin-type-as-json-schema)
[](https://coveralls.io/github/wmzy/rollup-plugin-type-as-json-schema?branch=master)
[](https://packagephobia.now.sh/result?p=rollup-plugin-type-as-json-schema)
# rollup-plugin-type-as-json-schema
> A Rollup Plugin for Import TS Types as JSON Schema.
## Usage
```bash
npm i -D rollup-plugin-type-as-json-schema
```
or
```bash
pnpm add -D rollup-plugin-type-as-json-schema
```
## Compatibility Note
## Workflow
```bash
# develop
npm start
# build
npm run build
# test
npm test
# commit changes
npm run commit
# publish
npm publish
```