chore: add rollup typescript example to validate definitions

This commit is contained in:
Eric Liu 2020-08-14 19:31:40 -07:00
commit 48a94cd1bf
9 changed files with 1105 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# rollup-typescript
> Example Rollup/TypeScript set-up scaffolded from the official [Svelte template](https://github.com/sveltejs/template).
This example project is used to validate the TypeScript definitions of `carbon-components-svelte`.
## Available Scripts
### `yarn dev`
Starts the app in development mode.
### `yarn build`
Builds the app for production.
### `yarn validate`
Runs [svelte-check](https://github.com/sveltejs/language-tools#svelte-check) from the Svelte [Language Tools](https://github.com/sveltejs/language-tools) which type checks the app code.