Great! Marketplace content -- including visualizations -- were designed for continuous improvement through the help of the entire Looker community and we'd love your input. To report an error or improvement recommendation, please get in touch at help.looker.com to submit a request. Please be as detailed as possible in your explanation and we'll address it as quick as we can.
-
Install Dependecies.
Using yarn, install all dependencies
yarn
-
Make changes to the source code
-
Compile your code
You need to compile your react code, let's run:
yarn build
Recommended: Webpack can detect changes and build automatically
yarn watch
Your compiled code can be found in this repo.
-
Running unit tests
Run them using either
yarn test
orbin/test
.
bargauge.js
: This visualization's minified distribution file.
LICENSE
: Looker's Marketplace content License file.
manifest.lkml
: Looker's external dependencies configuration file. The visualization object is defined here.
marketplace.json
: A JSON file containing information the marketplace installer uses to set up this project.
/src
: This directory will contain all of the visualization's source code.
/node_modules
: The directory where all of the modules of code that your project depends on (npm packages) are automatically installed.
README.md
: This! A text file containing useful reference information about this visualization.
yarn.lock
: Yarn is a package manager alternative to npm. This file serves essentially the same purpose as package-lock.json
, just for a different package management system.
.babelrc
: A configuration file for the Babel jsx -> js compiler.