konva

v8.0.0-2
<p align="center"> <img src="https://raw.githubusercontent.com/konvajs/konvajs.github.io/master/apple-touch-icon-180x180.png" alt="Konva logo" height="180" /> </p>
canvas animations graphic html5

tsc

tsc --removeComments

size

size-limit

test

npm run test:browser && npm run test:node

build

npm run compile && cp ./src/index-types.d.ts ./lib && gulp build && node ./rename-imports.js

clean

rm -rf ./lib && rm -rf ./types && rm -rf ./es && rm -rf ./test-build

start

npm run test:watch

watch

rollup -c -w

rollup

rollup -c

compile

npm run clean && npm run tsc && cp ./src/index-types.d.ts ./lib/index-types.d.ts && npm run rollup

test:node

env TS_NODE_PROJECT="./test/tsconfig.json" mocha -r ts-node/register test/unit/**/*.ts --exit && npm run test:import

test:build

parcel build ./test/unit-tests.html --dist-dir test-build --target none --public-url ./ --no-source-maps

test:watch

rm -rf ./parcel-cache && parcel serve ./test/unit-tests.html ./test/manual-tests.html ./test/performance/bunnies.html

test:import

npm run build && node ./test/import-test.js

test:browser

npm run test:build && mocha-headless-chrome -f ./test-build/unit-tests.html -a disable-web-security

Metadata

  • MIT
  • Whatever
  • Anton Lavrenov
  • released 5/9/2021

Downloads

Maintainers