eat-js-sdk
v2.1.0
Published
Authoring tool frontend SDK
Keywords
Readme
eat-js-sdk
Education Authoring Tool SDK built with SvelteKit
Requirements
- Bun (recommended package manager for development)
- Node 20 (for deployment)
Installation
Use the package manager bun for development or npm to install.
#install dependencies
bun install
#or using npm
npm installUsage
#convert tailwind css to native css and build JS app
bun run build
#or using npm
npm run buildTest in local
#add script
<script src="<path/dist/interaction-builder.mjs>" type="module"></script>
#add the component
<interaction-builder />Development
#start dev server from consuming platform and then,
#start development server
bun run buildPublish
#publish app
npm publish
#Package url
https://unpkg.com/eat-js-sdk@<version>/dist/interaction-builder.mjsTech Stack
- SvelteKit 2 with Svelte 5
- TypeScript
- Tailwind CSS 3
- Vitest + Playwright
- svelte-dnd-action (custom fork)
