@cucumber/monaco
TypeScript icon, indicating that this package has built-in type declarations

0.12.0 • Public • Published

test-javascript

Cucumber Monaco

This library configures a monaco editor to use @cucumber/language-service

The editor can be embedded on web pages and offers similar functionality to the VSCode Cucumber Extension

The library ships with support for React as well as vanilla JavaScript. See the try source code for details.

Live demo.

Usage

The library can be used with vanilla DOM as well as React. See try/index.tsx (the source for the live demo) for details.

Local demo

Build everything and serve the contents of docs:

npm install
npm run webpack
npx http-server -c-1 docs

Open http://127.0.0.1:8080/

Dependencies (2)

Dev Dependencies (35)

Package Sidebar

Install

npm i @cucumber/monaco

Weekly Downloads

83

Version

0.12.0

License

MIT

Unpacked Size

118 kB

Total Files

46

Last publish

Collaborators

  • davidjgoss
  • aslakhellesoy
  • cukebot