chartjs-plugin-annotation

v3.0.1
Annotations for Chart.js

build

rollup -c

dev

karma start ./karma.conf.cjs --auto-watch --no-single-run --browsers chrome

dev:ff

karma start ./karma.conf.cjs --auto-watch --no-single-run --browsers firefox

docs

npm run build && vuepress build docs --no-cache

docs:dev

npm run build && vuepress dev docs --no-cache

lint

concurrently --group "npm:lint-*"

lint-js

eslint "test/**/*.js" "src/**/*.js"

lint-md

eslint "**/*.md"

lint-types

eslint "types/**/*.ts" && tsc -p types/tests/

test

cross-env NODE_ENV=test concurrently --group "npm:test-*"

test-karma

karma start ./karma.conf.cjs --auto-watch --single-run

test-lint

npm run lint

test-types

tsc -p types/tests/

test-integration

mocha --full-trace test/integration/*-test.js
npm i chartjs-plugin-annotation

Metadata

  • MIT
  • Whatever
  • Evert Timberg
  • released 5/15/2023

Downloads