commit | 5ee35b99d7e38c7cc8e95f0916d9436e055fd0a1 | [log] [tgz] |
---|---|---|
author | Fine0830 <fanxue0830@gmail.com> | Mon May 08 11:02:12 2023 +0800 |
committer | Fine0830 <fanxue0830@gmail.com> | Mon May 08 11:02:12 2023 +0800 |
tree | abc67e351b1e19dd350e12005f0d4028ce1a3c76 | |
parent | b8f1c6abc2ad7da8bfd2169da1e0bf2f53637c9d [diff] |
feat: add layer
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