commit | c19259acfd1e16a251a3f8ef9553671c52058e38 | [log] [tgz] |
---|---|---|
author | Fine0830 <fanxue0830@gmail.com> | Sun Apr 30 21:39:52 2023 +0800 |
committer | Fine0830 <fanxue0830@gmail.com> | Sun Apr 30 21:39:52 2023 +0800 |
tree | e31818691b7f688cbe333e88acf54d353985c6f8 | |
parent | 7d35f8e932733f66f1d6b1a8e5383c88e453ef0e [diff] |
feat: update metrics
Install dependencies
yarn install
Build plugin in development mode and run in watch mode
yarn dev
Build plugin in production mode
yarn build
Run the tests (using Jest)
# Runs the tests and watches for changes, requires git init first yarn test # Exits after running all the tests yarn test:ci
Spin up a Grafana instance and run the plugin inside it (using Docker)
yarn server
Run the E2E tests (using Cypress)
# Spins up a Grafana instance first that we tests against yarn server # Starts the tests yarn e2e
Run the linter
yarn lint # or yarn lint:fix