GithubHelp home page GithubHelp logo

ds-react-barchart's Introduction

ds-react-component-template

Basic NPM template for React component. The package is prepared to be used as boilerplate for any React components created for DataSpark which can be published as NPM project.

Project Setup

Transpiler:

  • Babel6
  • Preset Stage-2

Linting:

  • ESLint

Tests:

  • Mocha
  • Enzyme
  • Sinon
  • JSDOM

Basic Usage

# install dependencies
npm install

# run watcher to monitor file changes and execute test cases automatically.
npm run test

# run test once and produce coverage output
npm run coverage

# run webpack-dev-server for development.
npm run dev

# compile source code in ./src to ./dist for production-ready version.
npm run build

Cloning Template to A New Component Project

  1. In your local machine, clone ds-react-component-template from GitHub as a new project, for example: my-new-repo

    git clone https://github.com/DataSpark-UI/ds-react-component-template.git my-new-repo
  2. Rename current remote origin to template

    git remote rename origin template
  3. Go to GitHub webpage and create a new empty repo, following my-new-repo name

  4. Copy clone url from the new repo, for example: https://github.com/DataSpark-UI/my-new-repo.git

  5. Insert the new repo url as the new origin

    git remote add origin https://github.com/DataSpark-UI/my-new-repo.git
  6. Finally, push the master to new repo and set the upstream reference pointing to the new origin.

    git push -u origin master
  7. Do normal git commands, like push & pull as usual.

License

This software and any related documentation contain confidential and proprietary information of DataSpark and its licensors (if any). Use of this software and any related documentation is governed by the terms of your written agreement with DataSpark. You may not use, download or install this software or any related documentation without obtaining an appropriate licence agreement from DataSpark.

Copyright © DataSpark Pte Ltd 2016.

All rights reserved.

ds-react-barchart's People

Contributors

yinshanyang avatar

Watchers

 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.