Files
konva/package.json

141 lines
4.0 KiB
JSON
Raw Normal View History

{
2015-01-27 00:07:51 -07:00
"name": "konva",
2025-10-21 16:40:49 -05:00
"version": "10.0.4",
"description": "HTML5 2d canvas library.",
2015-01-27 15:25:10 +07:00
"author": "Anton Lavrenov",
2025-08-10 22:10:55 +09:00
"type": "module",
2018-10-24 08:02:06 -05:00
"files": [
"README.md",
"konva.js",
"konva.min.js",
2025-08-10 22:10:55 +09:00
"lib"
2018-10-24 08:02:06 -05:00
],
2025-08-10 22:10:55 +09:00
"exports": {
".": {
"types": "./lib/index.d.ts",
2025-08-10 22:10:55 +09:00
"default": "./lib/index.js"
},
2025-08-11 20:34:32 +09:00
"./lib/*": {
"types": "./lib/*.d.ts",
2025-08-11 20:34:32 +09:00
"default": "./lib/*.js"
},
"./lib/*.js": {
"types": "./lib/*.d.ts",
2025-08-11 20:34:32 +09:00
"default": "./lib/*.js"
},
"./canvas-backend": {
"types": "./lib/canvas-backend.d.ts",
2025-08-11 20:34:32 +09:00
"default": "./lib/canvas-backend.js"
},
"./skia-backend": {
"types": "./lib/skia-backend.d.ts",
2025-08-11 20:34:32 +09:00
"default": "./lib/skia-backend.js"
2025-08-10 22:10:55 +09:00
}
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
2015-12-22 17:19:19 +07:00
"scripts": {
2021-05-03 17:09:18 -05:00
"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 .",
2024-12-23 09:46:43 -05:00
"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",
2025-01-23 13:52:05 -05:00
"test:build": "PARCEL_WORKER_BACKEND=process parcel build ./test/unit-tests.html --dist-dir ./test-build --target none --public-url ./ --no-source-maps",
2025-01-23 12:51:37 -05:00
"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",
2025-09-12 16:03:12 +08:00
"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",
2025-08-24 06:46:24 -05:00
"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",
2025-08-10 22:10:55 +09:00
"test:node": "npm run test:node:canvas && npm run test:node:skia",
2023-04-13 23:27:56 -05:00
"tsc": "tsc --removeComments",
2025-08-10 22:10:55 +09:00
"rollup": "rollup -c",
2025-09-12 16:03:12 +08:00
"clean": "rimraf ./lib && rimraf ./types && rimraf ./cmj && rimraf ./test-build",
2020-06-02 12:16:44 -05:00
"watch": "rollup -c -w",
"size": "size-limit"
2015-12-22 17:19:19 +07:00
},
2021-04-30 09:24:27 -05:00
"targets": {
"none": {}
},
2020-12-16 14:22:00 -05:00
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/lavrton"
},
{
"type": "opencollective",
"url": "https://opencollective.com/konva"
},
{
"type": "github",
"url": "https://github.com/sponsors/lavrton"
}
],
2020-06-02 12:16:44 -05:00
"size-limit": [
{
2021-05-05 09:19:24 -05:00
"limit": "45 KB",
2020-06-02 12:16:44 -05:00
"path": "./lib/index.js"
},
{
2021-05-06 07:46:36 -05:00
"limit": "26 KB",
2020-06-02 12:16:44 -05:00
"path": "./lib/Core.js"
2020-08-21 12:09:58 -05:00
},
{
"path": "./konva.min.js"
2020-06-02 12:16:44 -05:00
}
],
"devDependencies": {
2025-08-10 22:10:55 +09:00
"@parcel/transformer-image": "2.15.4",
"@size-limit/preset-big-lib": "^11.2.0",
2024-12-06 13:45:14 -05:00
"@types/mocha": "^10.0.10",
"canvas": "^3.2.0",
2025-08-24 06:40:51 -05:00
"chai": "6.0.1",
2022-04-27 09:21:24 -05:00
"filehound": "^1.17.6",
2025-08-10 22:10:55 +09:00
"gulp": "^5.0.1",
2016-12-14 12:11:54 -05:00
"gulp-concat": "^2.6.1",
2019-02-06 12:03:53 -05:00
"gulp-connect": "^5.7.0",
2021-01-26 11:54:37 -05:00
"gulp-exec": "^5.0.0",
2020-05-07 16:10:26 -05:00
"gulp-jsdoc3": "^3.0.0",
2025-08-10 22:10:55 +09:00
"gulp-rename": "^2.1.0",
2023-04-13 23:27:56 -05:00
"gulp-replace": "^1.1.4",
2019-04-17 10:45:47 -05:00
"gulp-typescript": "^5.0.1",
2019-04-03 18:08:16 -05:00
"gulp-uglify": "^3.0.2",
2021-09-23 11:17:50 -05:00
"gulp-uglify-es": "^3.0.0",
"gulp-util": "^3.0.8",
2025-08-24 06:46:24 -05:00
"mocha": "^10",
2022-03-12 22:48:54 -05:00
"mocha-headless-chrome": "^4.0.0",
"parcel": "2.15.4",
"prettier": "^3.6.2",
2022-03-12 22:48:54 -05:00
"process": "^0.11.10",
2025-09-12 16:03:12 +08:00
"rimraf": "^6.0.1",
"rollup": "^4.48.0",
2023-10-31 10:42:33 -05:00
"rollup-plugin-typescript2": "^0.36.0",
2025-08-10 22:10:55 +09:00
"size-limit": "^11.2.0",
"skia-canvas": "^3.0.4",
2025-08-10 22:10:55 +09:00
"ts-mocha": "^11.1.0",
2023-12-20 09:35:07 -05:00
"ts-node": "^10.9.2",
2025-08-24 06:40:51 -05:00
"tsx": "^4.20.5",
2025-08-10 22:10:55 +09:00
"typescript": "^5.9.2"
},
2018-10-24 08:02:06 -05:00
"keywords": [
"canvas",
"animations",
"graphic",
"html5"
],
2018-03-26 21:28:02 -07:00
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
2018-03-26 21:28:02 -07:00
},
"bugs": {
2015-01-27 15:25:10 +07:00
"url": "https://github.com/konvajs/konva/issues"
},
2019-02-23 20:54:20 -05:00
"homepage": "http://konvajs.org/",
"readmeFilename": "README.md",
"repository": {
"type": "git",
2015-01-27 15:25:10 +07:00
"url": "git://github.com/konvajs/konva.git"
},
2021-04-30 09:24:27 -05:00
"license": "MIT"
2017-03-20 06:54:31 -05:00
}