Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tungv/editor

react rich text editor
https://github.com/tungv/editor

Last synced: about 2 months ago
JSON representation

react rich text editor

Awesome Lists containing this project

README

        

# react-editor
> Simple production-ready text editor using [React](http://facebook.github.io/react/) and tests with Jest.

## Install

Clone repository and run:

```sh
$ npm install
```

## Development

node 4+

```sh
$ npm start
```

Go to [http://localhost:3001](http://localhost:3001) and see the magic happen.

## Production

If you want to run the project in production, set the `NODE_ENV` environment variable to `production`.

```sh
$ NODE_ENV=production npm start
```

Also build the production bundle:

```sh
$ npm run dist
```

## Tests

```sh
$ npm test
```

Only run specific tests

```sh
$ npm test -- NotFoundComponent
```

Coverage

```sh
$ npm test -- --coverage
```