beanexplorer-react

2.1.13 • Public • Published

beanexplorer-react

React component for BeanExplorer beans, serialized in beans-json

NPM Version Build Status dependencies Status Coverage Status tested with jest

Demo & Examples

Live demo: https://developmentontheedge.github.io/beanexplorer-react/

Installation

$ npm install --save beanexplorer-react

Usage

import PropertySet from 'beanexplorer-react';

import 'react-datetime/css/react-datetime.css';

render() {
  const bean = {
      "values": {
          "name": "",
      },
      "meta": {
          "/name": {"displayName": "Name"},
      },
      "order": [
          "/name",
      ]
  };
  <PropertySet bean={bean} onChange={this.handleChange}/>
}

Development

Install dependencies:

$ npm install

Run the example app at http://127.0.0.1:8887/beanexplorer-react/

$ npm start

Run tests

$ npm test
$ npm run watch

Build example or library:

$ npm run example
$ npm run lib

Deploy

sh build.sh
npm run up

/beanexplorer-react/

    Package Sidebar

    Install

    npm i beanexplorer-react

    Weekly Downloads

    2

    Version

    2.1.13

    License

    none

    Unpacked Size

    1.12 MB

    Total Files

    46

    Last publish

    Collaborators

    • qprogs
    • manikitos
    • ddimka
    • deerstalker
    • szhatchenko
    • sugakow