konva

v8.4.1
<p align="center"> <img src="https://konvajs.org/android-chrome-192x192.png" alt="Konva logo" height="180" /> </p>
canvas animations graphic html5

tsc

tsc --removeComments && tsc --build ./tsconfig-cmj.json

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.mjs

clean

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

start

npm run test:watch

watch

rollup -c -w

rollup

rollup -c --bundleConfigAsCjs

compile

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

test:node

ts-mocha -p ./test/tsconfig.json 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/sandbox.html

test:import

npm run build && node ./test/import-test.cjs &&node ./test/import-test.mjs

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 1/19/2023

Downloads

Maintainers