Coder Social home page Coder Social logo

hlzm / carbon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sage/carbon

0.0 1.0 0.0 13.86 MB

Carbon by Sage | ReactJS UI Component Library

Home Page: https://carbon.sage.com

License: Apache License 2.0

JavaScript 92.70% HTML 0.03% CSS 7.27%

carbon's Introduction

Carbon Codeship Status Travis Status npm

Carbon is a library of reusable React components and an interface for easily building user interfaces based on Flux.

Carbon Factory is supplementary to Carbon; providing tools to easily get your environment and project up and running to start building with React. As well as providing a command line interface to build projects, it manages tasks for compiling your assets and running test suites.

Check out our demo and documentation site for live examples and code snippets.

Documentation

Getting Started

Guides

Tutorials

Running the Example

Carbon has an example page, which demonstrates most of the components with a Flux implementation. This can be used to quickly see a demonstration of the components and/or as an area to test while developing with the components.

To run the example, do the following steps:

  1. Clone the carbon repository (git clone [email protected]:Sage/carbon.git)
  2. cd carbon
  3. npm install
  4. gulp
  5. Navigate to http://localhost:8095/ in your favourite browser

Testing Changes Locally in your App

See the guide on installing unreleased changes

Submitting a Release

  • N.B. Releases are created by Sage Carbon Team. We use semantic versioning

  • If releasing a minor version, create a branch from master.

  • If releasing a patch version, create a branch from the tag you want to patch. This should be the latest tag apart from exceptional circumstances.

  • Bump the version in package.json.

  • Ensure the CHANGELOG.md is up to date.

  • Commit and push changes.

  • If releasing a minor version, open a PR to master.

  • If releasing a patch version, open a PR to release.

  • With the branch/version checked out locally on your machine, run npm run release-version to publish to npm.

  • Once merged, publish a release in GitHub using the new version number as the tag. Make sure to target the correct branch (master or release).

  • If you have released from a branch other than master, open a PR to merge that branch back into master.

Technologies

The following is a list of technologies Carbon utilises:

  • React (JSX) - Components are written using React, as well as the useful JSX syntax.
  • Flux - If your application requires a heavy use of data and interaction, Carbon provides utilities for easily integrating Flux based data stores.
  • Immutable.js - For better performance and data handling, the components rely on using immutable data.
  • Node (CommonJS) - The components (or modules) are written using the CommonJS pattern. This allows for modularity and creating isolated/independent components.
  • Browserify - In order to consume the modular components in the browser, the code is compiled through Browserify. This also allows managing other dependencies such as stylesheets and images.
  • Gulp - To easily run tasks in development, the Gulp task runner is recommended.
  • Babel (ES6) - To benefit from ES6 (and ES7) features, the code is compiled through Babel (this also compiles the JSX).

Licence

Carbon is licensed under the Apache-2.0 licence.

Copyright (c) 2017 Sage Group Plc. All rights reserved.

carbon's People

Contributors

andrewjtait avatar seanarmstrong avatar abramin avatar ianoxley avatar chrisbarber86 avatar auriane-earley avatar victorsage avatar harpalsingh avatar dchill-sage avatar patrickmelvin avatar taoliusage avatar piotr-szachewicz avatar whomwah avatar philearley avatar willhearn avatar buzz1710 avatar benwilsonsage avatar danielhartley avatar wolfendale avatar michael-jia-sage avatar carlosveucv avatar stevehook avatar slloyd-hirst avatar sianford avatar xtaoxu avatar cindygu avatar mellion-y avatar brpic avatar iainwardle avatar kylemayne avatar

Watchers

hlzm 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.