| commit | 548f163995b7af09a3e75c2b69f53482e1465a9a | [log] [tgz] |
|---|---|---|
| author | Fine0830 <fanxue0830@gmail.com> | Sun Apr 30 22:23:59 2023 +0800 |
| committer | Fine0830 <fanxue0830@gmail.com> | Sun Apr 30 22:23:59 2023 +0800 |
| tree | 342c0425dd4b490c9f028dbb9c6bfff2cedf3646 | |
| parent | 92f5454fa1bc37fe1f40e93916bb4e70871f6707 [diff] |
refactor: update types
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