{ "name": "konva", "version": "10.0.10", "description": "HTML5 2d canvas library.", "author": "Anton Lavrenov", "type": "module", "files": [ "README.md", "konva.js", "konva.min.js", "lib" ], "exports": { ".": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "./lib/*": { "types": "./lib/*.d.ts", "default": "./lib/*.js" }, "./lib/*.js": { "types": "./lib/*.d.ts", "default": "./lib/*.js" }, "./canvas-backend": { "types": "./lib/canvas-backend.d.ts", "default": "./lib/canvas-backend.js" }, "./skia-backend": { "types": "./lib/skia-backend.d.ts", "default": "./lib/skia-backend.js" } }, "main": "./lib/index.js", "types": "./lib/index.d.ts", "scripts": { "start": "npm run test:watch", "compile": "npm run clean && npm run tsc && npm run rollup", "build": "npm run compile && gulp build", "fmt": "prettier --write .", "fmt:check": "prettier --check .", "test:import": "npm run build && node ./test/import-test.cjs && node ./test/import-test.mjs", "test": "npm run test:browser && npm run test:node && npm run test:import", "test:build": "PARCEL_WORKER_BACKEND=process parcel build ./test/unit-tests.html --dist-dir ./test-build --target none --public-url ./ --no-source-maps", "test:browser": "npm run test:build && mocha-headless-chrome -f ./test-build/unit-tests.html -a disable-web-security -a no-sandbox -a disable-setuid-sandbox", "test:watch": "rimraf ./.parcel-cache && PARCEL_WORKERS=0 parcel serve ./test/unit-tests.html ./test/manual-tests.html ./test/sandbox.html ./test/text-paths.html ./test/bunnies.html", "test:node:canvas": "mocha -r tsx -r ./test/node-canvas-global-setup.mjs --extension ts --recursive './test/unit/' --exit", "test:node:skia": "mocha -r tsx -r ./test/node-skia-global-setup.mjs --extension ts --recursive './test/unit/' --exit", "test:node": "npm run test:node:canvas && npm run test:node:skia", "tsc": "tsc --removeComments", "rollup": "rollup -c", "clean": "rimraf ./lib && rimraf ./types && rimraf ./cmj && rimraf ./test-build", "watch": "rollup -c -w", "size": "size-limit" }, "targets": { "none": {} }, "funding": [ { "type": "patreon", "url": "https://www.patreon.com/lavrton" }, { "type": "opencollective", "url": "https://opencollective.com/konva" }, { "type": "github", "url": "https://github.com/sponsors/lavrton" } ], "size-limit": [ { "limit": "45 KB", "path": "./lib/index.js" }, { "limit": "26 KB", "path": "./lib/Core.js" }, { "path": "./konva.min.js" } ], "devDependencies": { "@parcel/transformer-image": "2.15.4", "@size-limit/preset-big-lib": "^11.2.0", "@types/mocha": "^10.0.10", "canvas": "^3.2.0", "chai": "6.0.1", "filehound": "^1.17.6", "gulp": "^5.0.1", "gulp-concat": "^2.6.1", "gulp-connect": "^5.7.0", "gulp-exec": "^5.0.0", "gulp-jsdoc3": "^3.0.0", "gulp-rename": "^2.1.0", "gulp-replace": "^1.1.4", "gulp-typescript": "^5.0.1", "gulp-uglify": "^3.0.2", "gulp-uglify-es": "^3.0.0", "gulp-util": "^3.0.8", "mocha": "^10", "mocha-headless-chrome": "^4.0.0", "parcel": "2.15.4", "prettier": "^3.6.2", "process": "^0.11.10", "rimraf": "^6.0.1", "rollup": "^4.48.0", "rollup-plugin-typescript2": "^0.36.0", "size-limit": "^11.2.0", "skia-canvas": "^3.0.4", "ts-mocha": "^11.1.0", "ts-node": "^10.9.2", "tsx": "^4.20.5", "typescript": "^5.9.2" }, "keywords": [ "canvas", "animations", "graphic", "html5" ], "prettier": { "singleQuote": true, "trailingComma": "es5" }, "bugs": { "url": "https://github.com/konvajs/konva/issues" }, "homepage": "http://konvajs.org/", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/konvajs/konva.git" }, "license": "MIT" }