1.1.3 • Published 5 years ago

@toba/elements v1.1.3

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
5 years ago

npm package Dependencies

Toba Elements

Shared configurations for the development environment, including linting, code style and TypeScript compilation.

yarn add @toba/develop --dev

or

npm install @toba/develop --save-dev

Rich Text

http://prosemirror.net/ https://medium.engineering/why-contenteditable-is-terrible-122d8a40e480 https://medium.com/@rajaraodv/how-draft-js-represents-rich-text-data-eeabb5f25cf2

TypeScript Configurations

Create tsconfig.json with

{
  "extends": "@toba/develop/tsconfig"
}

Style and Linting

eslint

Shared eslint configuration. To use, create .eslintrc with

{
  "extends": ["./node_modules/@toba/develop/.eslintrc"]
}

stylelint

For standard style linting, create .stylelintrc with

{
  "plugins": ["@toba/develop/style"]
}

prettier

For standard code formatting, create prettier.config.js with

module.exports = require("@toba/develop/prettier");

License

Copyright © 2019 Jason Abbott

This software is licensed under the MIT license. See the LICENSE file accompanying this software for terms of use.

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago