mirror of
https://github.com/netdata/charts.git
synced 2026-01-20 15:42:12 +01:00
No description
- JavaScript 100%
| .github/workflows | ||
| .storybook | ||
| fixtures | ||
| jest | ||
| out8553 | ||
| src | ||
| .gitignore | ||
| .prettierrc.js | ||
| babel.config.js | ||
| eslint.config.js | ||
| jsconfig.json | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| yarn.lock | ||
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