Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 828 Bytes

README.md

File metadata and controls

65 lines (42 loc) · 828 Bytes

Netdata frontend SDK and chart utilities

Storybook

https://netdata.github.io/charts

Install

npm:

  $ npm install @netdata/charts

yarn:

  $ yarn add @netdata/charts

Develop

  $ yarn start

Build

There are 3 different distributions. The following command creates the different distributions in the ./dist folder

  $ yarn build

Build the distributions isolated

UMD produces a single file ./dist/sdk.min.js what contains the entire bundle

  $ yarn build:umd

ES6 Builds the files using ES Modules in ./dist/es6/* folder

  $ yarn build:es6

cjs Builds the files using CommonJS in ./dist/* folder

  $ yarn build:cjs

Testing

  $ yarn test

Lint

  $ yarn lint