react-canvas-spark-line

v1.0.1
Simple canvas SparkLine React component
spark line graph react component

prepublishOnly

npm run test && npm run dist

start

budo examples/src/index.tsx:build/index.js --live --dir examples -- -p [tsify -p tsconfig.examples.json]

dist

rm -rf dist && tsc --project tsconfig.dist.json

prettier

prettier --write '**/*.@(ts|tsx)'

prettier-check

prettier --check '**/*.@(ts|tsx)'

typecheck

tsc --noEmit --project tsconfig.json

lint

tslint --project tsconfig.json '@(src|tests|examples|docs)/**/*.@(ts|tsx)' && npm run prettier-check

tests

jest

test

npm run typecheck && npm run lint && npm run tests -- --coverage --runInBand
npm i react-canvas-spark-line

Metadata

  • MIT
  • Whatever
  • Jake 'Sid' Smith
  • released 8/12/2019

Downloads

Maintainers