Skip to content

knightedcodemonkey/develop

Repository files navigation

@knighted/develop

Compiler-as-a-Service (at the edge of your browser) with @knighted/jsx and @knighted/css.

⚠️ Early project status: this package is pre-1.0.0 and still actively evolving.

What it is

@knighted/develop is a lightweight dev app that lets you:

  • write component code in the browser
  • switch render mode between DOM and React
  • switch style mode between native CSS, CSS Modules, Less, and Sass
  • preview results immediately

Local development

npm install
npm run dev

Then open the URL printed by the dev server (it should open src/index.html).

End-to-end tests

Install Playwright browsers once before your first local run:

npx playwright install

If your environment needs system dependencies too (for example Linux CI-like containers), use:

npx playwright install --with-deps

Run local Playwright tests (Chromium):

npm run test:e2e

Run locally with headed browser:

npm run test:e2e:headed

CI runs Playwright on Chromium and WebKit.

Notes

  • This is currently a development playground, not a stable product.
  • Expect breaking changes while APIs and UX are still being shaped.
  • Documentation will expand closer to 1.0.0.

License

MIT

About

Browser-native editor-playground for JSX and CSS dialects with live preview and compiler-on-demand.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors