mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-01 13:18:29 +01:00
ace9f47930
* init lerna, move files into ./packages * move test files into ./packages * more moving around * fill out package.json files * fixing imports * more fixing of imports, and horribleness * convert examples, fix linting errors * add documentation * update docs * get tests passing * update travis.yml * update travis.yml * update travis.yml * update test script * update travis.yml * update scripts * try simplifying travis.yml * ocd stuff * remove slate-core-test-helpers package * add package readmes * update reference docs structure * refactor slate-simulator into its own package * add docs for new packages * update docs * separate benchmarks into packages, and refactor them
980 B
980 B
Packages
Slate's codebase is monorepo managed with Lerna. It consists of a handful of packages—although you won't always use all of them. They are:
slate
— which includes Slate's core logic.slate-react
— the React components for rendering Slate editors.slate-hyperscript
— a hyperscript helper to write Slate documents in JSX!
And some others...
slate-base64-serializer
— a Base64 string serializer for Slate documents.slate-html-serializer
— an HTML serializer for Slate documents.slate-plain-serializer
— a plain text serializer for Slate documents.slate-prop-types
— a set of React prop types for checking Slate values.
And some internal ones...
slate-logger
— a simpler internal logger for other Slate packages to use.