konva
v8.3.5 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
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
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/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
npm i [email protected]
Metadata
- MIT
- Whatever
- Anton Lavrenov
- released 3/21/2022