@contentful/field-editor-test-utils

This package contains shared code (components, utilities, test utilities) that is used by all other field editor packages.

Usage no npm install needed!

<script type="module">
  import contentfulFieldEditorTestUtils from 'https://cdn.skypack.dev/@contentful/field-editor-test-utils';
</script>

README

@contentful/field-editor-shared

This package contains shared code (components, utilities, test utilities) that is used by all other field editor packages.

Commands

Uses tsdx - a zero-config CLI that helps you develop, test, and publish modern TypeScript packages with ease.

yarn watch

Runs the project in development/watch mode. Your library will be rebuilt if you make edits.

yarn build

Bundles the package to the dist folder. The package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).

yarn test

Runs the test watcher (Jest) in an interactive mode. By default, runs tests related to files changed since the last commit.

For more information check tsdx documentation out.