{ "name": "konva", "version": "9.3.14", "author": "Anton Lavrenov", "files": [ "README.md", "konva.js", "konva.min.js", "lib", "cmj" ], "main": "./lib/index-node.js", "browser": "./lib/index.js", "typings": "./lib/index-types.d.ts", "scripts": { "start": "npm run test:watch", "compile": "npm run clean && npm run tsc && cp ./src/index-types.d.ts ./lib/index-types.d.ts && npm run rollup", "build": "npm run compile && cp ./src/index-types.d.ts ./lib && gulp build && node ./rename-imports.mjs", "test:import": "npm run build && node ./test/import-test.cjs &&node ./test/import-test.mjs", "test": "npm run test:browser && npm run test:node", "test:build": "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", "test:watch": "rm -rf ./.parcel-cache && parcel serve ./test/unit-tests.html ./test/manual-tests.html ./test/sandbox.html ./test/text-paths.html ./test/bunnies.html", "test:node": "ts-mocha -r ./test/node-global-setup.mjs -p ./test/tsconfig.json test/unit/**/*.ts --exit && npm run test:import", "tsc": "tsc --removeComments", "rollup": "rollup -c --bundleConfigAsCjs", "clean": "rm -rf ./lib && rm -rf ./types && rm -rf ./cmj && rm -rf ./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.10.1", "@size-limit/preset-big-lib": "^11.0.1", "@types/mocha": "^10.0.6", "canvas": "^2.11.2", "chai": "4.3.10", "filehound": "^1.17.6", "gulp": "^4.0.2", "gulp-concat": "^2.6.1", "gulp-connect": "^5.7.0", "gulp-exec": "^5.0.0", "gulp-jsdoc3": "^3.0.0", "gulp-rename": "^2.0.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.2.0", "mocha-headless-chrome": "^4.0.0", "parcel": "2.10.1", "process": "^0.11.10", "rollup": "^4.9.1", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-typescript2": "^0.36.0", "size-limit": "^11.0.1", "ts-mocha": "^10.0.0", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, "keywords": [ "canvas", "animations", "graphic", "html5" ], "prettier": { "singleQuote": true }, "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" }