mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: add rollup typescript example to validate definitions
This commit is contained in:
parent
5f9ba52312
commit
48a94cd1bf
9 changed files with 1105 additions and 0 deletions
19
examples/rollup-typescript/README.md
Normal file
19
examples/rollup-typescript/README.md
Normal 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.
|
Loading…
Add table
Add a link
Reference in a new issue