dropdeck-slate-react
TypeScript icon, indicating that this package has built-in type declarations

0.58.4-h • Public • Published

This package contains the React-specific logic for Slate, which has been patched for use in Typeset/Dropdeck. It's separated further into a series of directories:

  • Components — containing the React components for rendering Slate editors.
  • Hooks — containing a few React hooks for Slate editors.
  • Plugins — containing the React-specific plugins for Slate editors.
  • Utils — containing a few private convenience modules.

Feel free to poke around in each of them to learn more!

Build and deployment

You build the package by running yarn build in the root of the slate repo. Once built, navigate into this repository and do the following:

npm login # if you haven't already; you need to login as an account with access to the dropdeck-slate-react project on NPM.js
npm publish --dry-run # to test that everything is working
npm publish # to publish the package; note this requires a one-time password from your authenticator app

Note: Make sure to update the version number in package.json before publishing.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.58.4-h121latest

Version History

VersionDownloads (Last 7 Days)Published
0.58.4-h121
0.58.4-g0
0.58.4-f0
0.58.4-e0
0.58.4-d0
0.58.4-c0
0.58.4-b0
0.59.0-a0
0.58.4-a0

Package Sidebar

Install

npm i dropdeck-slate-react

Weekly Downloads

121

Version

0.58.4-h

License

MIT

Unpacked Size

499 kB

Total Files

48

Last publish

Collaborators

  • bjarkih