Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tungv/editor
- Owner: tungv
- License: mit
- Created: 2016-01-19T15:31:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-20T05:00:12.000Z (almost 9 years ago)
- Last Synced: 2024-10-12T13:17:37.292Z (3 months ago)
- Language: JavaScript
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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
```