You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
152 lines
4.2 KiB
152 lines
4.2 KiB
{ |
|
"name": "konva", |
|
"version": "10.3.1", |
|
"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.1", |
|
"chai": "6.2.2", |
|
"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.7.4", |
|
"process": "^0.11.10", |
|
"rimraf": "^6.1.2", |
|
"rollup": "^4.55.1", |
|
"rollup-plugin-typescript2": "^0.37.0", |
|
"size-limit": "^11.2.0", |
|
"skia-canvas": "^3.0.4", |
|
"ts-mocha": "^11.1.0", |
|
"ts-node": "^10.9.2", |
|
"tsx": "^4.21.0", |
|
"typescript": "^5.9.3" |
|
}, |
|
"peerDependencies": { |
|
"canvas": "^3.0.0", |
|
"skia-canvas": "^3.0.0" |
|
}, |
|
"peerDependenciesMeta": { |
|
"canvas": { |
|
"optional": true |
|
}, |
|
"skia-canvas": { |
|
"optional": true |
|
} |
|
}, |
|
"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" |
|
}
|
|
|