GithubHelp home page GithubHelp logo

xpdavid / respace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evansb/respace

0.0 2.0 0.0 176 KB

ReSpace is a development environment built upon Mobx and React components.

License: MIT License

JavaScript 9.09% TypeScript 55.39% CSS 35.07% HTML 0.45%

respace's Introduction

ReSpace

Build Status

Overview

ReSpace is a development environent (IDE) built upon Mobx and React based components.

Each ReSpace component is:

  1. An NPM package.
  2. Can be used standalone on its own by feeding Mobx observable.
  3. Written in TypeScript and typechecked to a common interface.
  4. Can be headless or have a React component that is injected with Mobx observable.

While each ReSpace component is useful on its own, the power of ReSpace is its ability t put together components into a workspace.

The package respace in packages/respace creates a workspace from ReSpace components.

Using Respace

You can use your own webpack configuration to creae a space efficient Respace bundle. Or you can use ours! Respace comes with a CLI that can help you generate your own bundle.

$ npm install respace-cli -g
$ respace bundle your-respace-project

This is recommended if your bundle is simple and uses similar language as ours. This method of bundling supports TypeScript, ES6, and SCSS.

Developing ReSpace

Preparation

$ node -v # We use > 5
$ npm -v  # We use > 3
$ npm install lerna@^2.0.0-beta typings -g
$ npm run bootstrap
$ npm install
$ npm link

Cross package development with hot reloading

$ respace serve packages/respace-preset-nus

Compiling all packages to ES6, then ES5, and generate source map and typing definitions

$ respace build-all
$ respace build respace-core # For single component

TODO: Bundling each packages for browser use to dist

TODO: Running test cases

Cleaning up

$ npm run clean

License

MIT

respace's People

Contributors

evansb avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.